MicrosoftDocs / WSL

Source code behind the Windows Subsystem for Linux documentation.
https://docs.microsoft.com/windows/wsl
Other
1.89k stars 556 forks source link

Page https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan needs more information! #1784

Closed znmeb closed 1 year ago

znmeb commented 1 year ago

Documentation Issue

I'm trying to run a web server in WSL2 and connect to it from another machine on my LAN. The section "Accessing a WSL 2 distribution from your local area network" does not contain enough information to enable a user to successfully complete that task.

Specifically, on the netsh coomand, it does not tell the user how to obtain the IP address at the end of the command, nor does it tell the user what IP address to browse to from the client machine. Both pieces of information are necessary to successfully configure and test the web server.

Link to documentation page

https://learn.microsoft.com/en-us/windows/wsl/networking#accessing-a-wsl-2-distribution-from-your-local-area-network-lan

Suggested Improvements

Add the information specified above.

mattwojo commented 1 year ago

Added more info: https://github.com/MicrosoftDocs/WSL/pull/1779/files