Skip to content

LAN access with WSL2 #378

Answered by Zero-G-Sys
wickedwzrd asked this question in Q&A
Dec 16, 2020 · 6 comments · 4 replies
Discussion options

You must be logged in to vote

Opening the port on the firewall wasn't enough for me. I found the solution in this link:
https://stackoverflow.com/questions/61002681/connecting-to-wsl2-server-via-local-network

Running this command (as administrator) (and having the port open on the firewall already) made me able to access LANraragi from my local network when using WSL2:
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=3000 connectaddress=localhost connectport=3000

But, then I restarted and wanted to see if the port proxy forward was still active. Running the command
netsh interface portproxy show all
showed that it was indeed still active, so I ran LANraragi again and... didn't have access from my …

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@a942533331
Comment options

@eao
Comment options

@owenk10
Comment options

@eao
Comment options

Answer selected by Difegue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #378 on December 17, 2020 20:50.