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

Guest
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...
 
Back
Top