Skip to content

Instantly share code, notes, and snippets.

@thalysonalexr
Created January 21, 2023 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thalysonalexr/834866087d815838f30dacd081254b28 to your computer and use it in GitHub Desktop.
Save thalysonalexr/834866087d815838f30dacd081254b28 to your computer and use it in GitHub Desktop.
Expose port in Windows from WSL2
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