Created
January 21, 2023 16:19
-
-
Save thalysonalexr/834866087d815838f30dacd081254b28 to your computer and use it in GitHub Desktop.
Expose port in Windows from 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 set v4tov4 listenport=6379 listenaddress=0.0.0.0 connectport=6379 connectaddress=$(wsl hostname -I) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment