You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I want to access containers running in podman, which is installed in WSL2 of my windows machine. I can only access the said container with IPv6 address ([::1]) for localhost, but not the IPv4 (127.0.0.1) address of it.
Steps to reproduce the issue:
Run this command in linux terminal of WSL. podman container run -d --rm --name nginx -p 8080:80 nginx
Access http://127.0.0.1:8080 in the browser of windows.
Access http://[::1]:8080 in the browser of windows.
Describe the results you received:
ERR_CONNECTION_REFUSED for step 2.
Valid response body for step 3.
Describe the results you expected:
Should get the same response from step 2, like step 3.
Additional information you deem important (e.g. issue happens only occasionally):
Tried running a node app directly from WSL2, I can access it on windows machine with both IPv4 or IPv6.
Output of podman version:
Version: 3.0.1
API Version: 3.0.0
Go Version: go1.15.9
Built: Thu Jan 1 07:30:00 1970
OS/Arch: linux/amd64
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I want to access containers running in podman, which is installed in WSL2 of my windows machine. I can only access the said container with IPv6 address (
[::1]
) for localhost, but not the IPv4 (127.0.0.1
) address of it.Steps to reproduce the issue:
Run this command in linux terminal of WSL.
podman container run -d --rm --name nginx -p 8080:80 nginx
Access
http://127.0.0.1:8080
in the browser of windows.Access
http://[::1]:8080
in the browser of windows.Describe the results you received:
ERR_CONNECTION_REFUSED
for step 2.Describe the results you expected:
Should get the same response from step 2, like step 3.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
No(Checked troubleshooting guide, but havent tested with the latest version of Podman).
Additional environment details (AWS, VirtualBox, physical, etc.):
Podman installed on Debian image on WSL2.
The text was updated successfully, but these errors were encountered: