Created
December 31, 2020 17:32
-
-
Save ajsb85/90af9910d4d9ff7be54787809ced077b to your computer and use it in GitHub Desktop.
Connecting to WSL2 server via local network
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh interface portproxy add v4tov4 listenport=<port-to-listen> listenaddress=0.0.0.0 connectport=<port-to-forward> connectaddress=<forward-to-this-IP-address> | |
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.24.98.194 | |
netsh interface portproxy add v4tov4 listenport=3001 listenaddress=0.0.0.0 connectport=3001 connectaddress=172.24.98.194 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment