Windows 11 Cannot connect to WSL2 docker service from LAN, netsh portproxy already set

  • Thread starter Thread starter Tingyi Yang
  • Start date Start date
T

Tingyi Yang

Hello, I recently started a docker service in my WSL2 ubuntu, and I would like to access it from my LAN devices, I followed the instructions in this article: Accessing network applications with WSL, ,my command was:netsh interface portproxy add v4tov4 listenport=5678 listenaddress=0.0.0.0 connectport=5678 connectaddress=172.28.149.120but it's not working. Now I can access the docker service from WSL2 host machine using 1)the IP of WSL2, 2)localhost, 3)IP address of the Windows machine as seen from WSL 2, but not any other machines in LAN. Please tell me how I can fix it.M

Continue reading...
 

Similar threads

K
Replies
0
Views
26
ke1evra
K
T
Replies
0
Views
16
Themhbd
T
M
Replies
0
Views
42
Mikhail Batcer
M
V
Replies
0
Views
94
VishakhaBansal
V
Back
Top