Windows Version
Microsoft Windows [Version 10.0.26200.8875]
WSL Version
2.7.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.33.2-microsoft-standard-WSL2
Distro Version
Manjaro
Other Software
podman version 6.0.1
Repro Steps
Run in WSL2:
sudo podman run -it --rm -p 8081:80 docker.io/nginx
curl http://localhost:8081
Expected Behavior
The curl command (in WSL2) succeeds and in the browser on windows you can open http://localhost:8081.
Actual Behavior
The curl commands (in WSL2) succeeds but in the browser you cannot open http://localhost:8081 but get ERR_CONNECTION_REFUSED.
The problem occurs only with podman 6. Podman 4.x and 5.x work fine. I have installed podman in Manjaro with sudo pacman -S podman.
Diagnostic Logs
No response
Windows Version
Microsoft Windows [Version 10.0.26200.8875]
WSL Version
2.7.11.0
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.33.2-microsoft-standard-WSL2
Distro Version
Manjaro
Other Software
podman version 6.0.1
Repro Steps
Run in WSL2:
Expected Behavior
The curl command (in WSL2) succeeds and in the browser on windows you can open http://localhost:8081.
Actual Behavior
The curl commands (in WSL2) succeeds but in the browser you cannot open http://localhost:8081 but get ERR_CONNECTION_REFUSED.
The problem occurs only with podman 6. Podman 4.x and 5.x work fine. I have installed podman in Manjaro with
sudo pacman -S podman.Diagnostic Logs
No response