-
Notifications
You must be signed in to change notification settings - Fork 822
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
networkingMode=mirrored makes Podman unable to forward ports #11136
Comments
I have the same error. Following... |
Same error here, following |
To provide more context: wsl --version podman version Server: Podman Engine |
Same error for me |
Hi. Can you please collect networking logs by following the instructions below? |
same error here |
Here the dump from my laptop. |
Same problem. |
same |
I have the same error. Following... |
Same problem. |
I've come around a possible solution: Change SubNet of WSL NAT-Router to a different one which does not collide with your VPN or Network policies To do so got to regedit and edit the following entries (IPs should be neutral enough to work everywhere):
Restart the PC Let us know if this works. |
I have found a fix. Then inside admin Powershell run: Now start your application inside WSL again. Now run: For some reason you need to run the reset quickly before doing the portproxy again. If you close your application that is forwarded, you have to run the reset command again. |
Windows Version
Microsoft Windows [Versione 10.0.22631.3007]
WSL Version
2.0.14.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.133.1-1
Distro Version
No response
Other Software
Podman Desktop v1.7.1
Podman v4.9.2
Repro Steps
Change in .wslconfig
networkingMode=mirrored
Restart WSL2
Execute
podman run -d -p 8080:80 nginx:alpine (example)
Open to http://localhost:8080
Result: cannot connect
Expected Behavior
To forward the port and be able to connect to my containers.
Actual Behavior
Doesn't forward the port, so I cannot connect to my containers.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: