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
Run some kind of server on Windows on loopback address which is not 127.0.0.1, for example: python3.exe -m http.server -b 127.128.0.11 11224
Forward that address and port to localhost: netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=11224 connectaddress=127.128.0.11 connectport=11224
Try to access the forwarded port from Windows, for example: wget localhost:11224 (this works for me)
Try accessing that port from WSL: wget ${HOST}.local:11224 (this doesn't work for me, connection times out)
Note that if I run the server directly on 127.0.0.1:11224, it works correctly.
Expected Behavior
I expected to be able to access the forwarded port.
Actual Behavior
I get connection timeout.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered:
Windows Version
Microsoft Windows [Version 10.0.19045.2965]
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1-microsoft-standard-WSL2
Distro Version
OpenSUSE 15.4
Other Software
No response
Repro Steps
Run some kind of server on Windows on loopback address which is not 127.0.0.1, for example:
python3.exe -m http.server -b 127.128.0.11 11224
Forward that address and port to localhost:
netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=11224 connectaddress=127.128.0.11 connectport=11224
Try to access the forwarded port from Windows, for example:
wget localhost:11224
(this works for me)Try accessing that port from WSL:
wget ${HOST}.local:11224
(this doesn't work for me, connection times out)Note that if I run the server directly on
127.0.0.1:11224
, it works correctly.Expected Behavior
I expected to be able to access the forwarded port.
Actual Behavior
I get connection timeout.
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: