WSL port forwarding
I'm trying to connect to a vite dev server running in WSL from my phone on the same local network, but it does not seem to want to connect
some commands I tried to run :
172.30.240.1 is the ip of the WSL instance as reported by ipconfig /all
15 Replies
ping @ἔρως
content of the .wslconfig file :
https://learn.microsoft.com/en-us/windows/wsl/wsl-config <-- try setting
networkingMode to something else
https://learn.microsoft.com/en-us/windows/wsl/networking <-- also check this
try the mirrored mode
that doesn't seam right
"Port 5173 is in use, trying another one..."
well... it did something but not what I wanted...
yeah, it's something
maybe a restart
ah it's the proxy settings I've added above
let's remove them
Yeay it works! (It's mighty broken, but it works)

and it was the setting i said? to mirror the network?
think so
what do you have in the file?
nice
(yes that's 16GB of RAM)
i figured