Last active
October 29, 2022 15:35
-
-
Save aminusia/c3c5ace02bf969774767b41d7b2c3619 to your computer and use it in GitHub Desktop.
Forward port listening to WSL2
This file contains hidden or 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=3000 listenaddress=0.0.0.0 connectport=3000 connectaddress=172.25.19.178 | |
# to remove | |
netsh interface portproxy delete v4tov4 listenport=3000 listenaddress=0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment