-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access WSL2 localhost on Windows Host Browser #8691
Comments
having the exact same issue. It just appeared randomly this week and I have no clue why. I have to expose the Nuxt app to the network and connect manually to the ip in the browser :') |
Hey, I recently fixed my issue, can you just search |
I tried so many things. Different versions, also converting from 2 to 1 and vice versa and so much more. Nothing worked till I tried this in PowerShell:
|
@QAnders Is fast startup a Windows Server 2022 feature? The reason I ask is because I do not see that option and I'm supposedly an admin. |
It works # List reserved ports
netsh int ipv4 show dynamicport tcp
netsh int ipv4 show excludedportrange protocol=tcp |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Version
Microsoft Windows [Version 10.0.25169.1000]
WSL Version
Kernel Version
5.15.57.1
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Expected Behavior
Application thats running on http://localhost:3000 in WSL, should be visible on the browser
Actual Behavior
Accessing through the IP address of eth0 with the port works. So i.e. http://localhost:3000/ or http://127.0.0.1:3000/ fail, but http://172.26.200.132:3000/ works.
This worked until this morning when I updated to the latest version (0.65.3.0).
Diagnostic Logs
WslLogs-2022-08-05_23-41-23.zip
$ ver
Microsoft Windows [Version 10.0.25169.1000]
$ wsl.exe --status
Default Distribution: Ubuntu-20.04
Default Version: 2
WSL version: 0.65.3.0
Kernel version: 5.15.57.1
WSLg version: 1.0.41
MSRDC version: 1.2.3213
Direct3D version: 1.601.0
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.25169.1000
The text was updated successfully, but these errors were encountered: