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
When using the experimental tunnel feature and the Moby engine with WSL2, containers running on localhost with WSL cannot be accessed on the host machine or via browser.
Steps to Reproduce
Use Moby container engine.
Run container on localhost or 127.0.0.1.
Use experimental tunnel feature on WSL2.
Try to access the running container from browser localhost with the port.
Result
The running container cannot be accessed from a browser or the host machine.
Expected Behavior
The running container should be able to be accessed from a browser or the host machine.
Additional Information
No response
Rancher Desktop Version
1.9.1
Rancher Desktop K8s Version
N/A
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
Cisco AnyConnect, Zscaler, Microsoft Defender and Symantec Endpoint Protection
The text was updated successfully, but these errors were encountered:
When I enable the networking tunnel BEFORE running the container in localhost, I can successfully access it via browser/ host machine
When I first run the container on localhost and AFTER enable the networking tunnel, then I can't connect to localhost neither via browser nor via the host machine.
I'm reopening the issue so that @Nino-K can investigate this further.
@pshutt97 Thanks for reporting this, I managed to repro this by restarting Rancher Desktop as @IsaSih mentioned in her comment. The fix should be included in 1.11.
Actual Behavior
When using the experimental tunnel feature and the Moby engine with WSL2, containers running on localhost with WSL cannot be accessed on the host machine or via browser.
Steps to Reproduce
Use Moby container engine.
Run container on localhost or 127.0.0.1.
Use experimental tunnel feature on WSL2.
Try to access the running container from browser localhost with the port.
Result
The running container cannot be accessed from a browser or the host machine.
Expected Behavior
The running container should be able to be accessed from a browser or the host machine.
Additional Information
No response
Rancher Desktop Version
1.9.1
Rancher Desktop K8s Version
N/A
Which container engine are you using?
moby (docker cli)
What operating system are you using?
Windows
Operating System / Build Version
Windows 11
What CPU architecture are you using?
x64
Linux only: what package format did you use to install Rancher Desktop?
None
Windows User Only
Cisco AnyConnect, Zscaler, Microsoft Defender and Symantec Endpoint Protection
The text was updated successfully, but these errors were encountered: