podman system service
for localhost not binding in dual stack on dual stack system
#21656
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Running
podman system service tcp://localhost:2375
on a dual stack system binds only to IPv4. It can be forced to bind to IPv6 using::1
but then it's not binding to IPv4. It's also not possible to supply both a 127.0.0.1 and ::1 url as argument as it only expects 1 argument.Steps to reproduce the issue
podman system service tcp://localhost:2375
time="2024-02-14T18:25:45Z" level=info msg="API service listening on \"127.0.0.1:2375\". URI: \"tcp://localhost:2375\""
curl -6 localhost:2375
and observe failureDescribe the results you received
It only bound to one of the IP stacks; IPv4, 127.0.0.1
Describe the results you expected
Binding to both IP stacks; IPv4, 127.0.0.1 and IPv6, ::1
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
The text was updated successfully, but these errors were encountered: