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

podman machine init: unable to get free machine port: listen tcp 127.0.0.1:0: bind: can't assign requested address #24148

Closed
gptlang opened this issue Oct 3, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@gptlang
Copy link

gptlang commented Oct 3, 2024

Issue Description

Can't run podman machine init

Steps to reproduce the issue

Steps to reproduce the issue
1.brew install podman
2.podman machine init

Describe the results you received

Fails to get random port by binding to port 0.

Describe the results you expected

Bind to random port

podman info output

... can't start

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

Yes

Additional environment details

ProductName:		macOS
ProductVersion:		14.5
BuildVersion:		23F79

Firewall is disabled. (State = 0)

Additional information

ncat -l 127.0.0.1 -vp 0
Ncat: Version 7.95 ( https://nmap.org/ncat )
Ncat: bind to 127.0.0.1:0: Can't assign requested address. QUITTING.

This is not a podman issue but MacOS being weird.

@gptlang gptlang added the kind/bug Categorizes issue or PR as related to a bug. label Oct 3, 2024
@gptlang gptlang closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
@gptlang
Copy link
Author

gptlang commented Oct 3, 2024

(after thinking about it a bit more, I should probably report this somewhere else)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant