Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port doesn't work the same across platforms #12827

Open
haras-unicorn opened this issue May 10, 2024 · 0 comments
Open

port doesn't work the same across platforms #12827

haras-unicorn opened this issue May 10, 2024 · 0 comments
Labels
inconsistent-behavior Behavior between different commands or types inconsistent/unexpected needs-triage An issue that hasn't had any proper look networking All about our `http` and `url` commands and everything going accross the network. platform-specific platform-specific issues

Comments

@haras-unicorn
Copy link

Describe the bug

port 5432 5432 throws an error on linux if a postgresql server is running and on windows it just returns 5432.

How to reproduce

  1. start postgresql on linux
  2. run port 5432 5432
  3. throws
  4. start postgresql on windows
  5. run port 5432 5432
  6. doesn't throw

Expected behavior

port 5432 5432 should throw on windows if a postgresql instance is running since the documentation says that it should return a free port

Screenshots

No response

Configuration

key value
version 0.92.2
branch
commit_hash 2a08a18
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.77.2 (25ef9e3d8 2024-04-09)
rust_channel 1.77.2-x86_64-pc-windows-msvc
cargo_version cargo 1.77.2 (e52e36006 2024-03-26)
build_time 2024-04-10 21:24:37 +00:00
build_rust_channel release
allocator mimalloc
features default, sqlite, trash, which
installed_plugins

Additional context

No response

@haras-unicorn haras-unicorn added the needs-triage An issue that hasn't had any proper look label May 10, 2024
@sholderbach sholderbach added platform-specific platform-specific issues inconsistent-behavior Behavior between different commands or types inconsistent/unexpected networking All about our `http` and `url` commands and everything going accross the network. labels May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inconsistent-behavior Behavior between different commands or types inconsistent/unexpected needs-triage An issue that hasn't had any proper look networking All about our `http` and `url` commands and everything going accross the network. platform-specific platform-specific issues
Projects
None yet
Development

No branches or pull requests

2 participants