containers/podman

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

Closed this issue · 1 comments

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.

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