-
Notifications
You must be signed in to change notification settings - Fork 852
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
Local server running in wsl2 not available via host #10665
Comments
Could you please follow the steps below and attach the diagnostic logs? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues |
I'm having the same issue. I have attached my logs. It was working previously but suddenly stopped. One possible issue might be latest windows update. (KB5031455) |
I think WSL resolves localhost to its IPv6 address ( Alternatively, on the host, you can use the following command in PowerShell to check which IP address your web server is bound to: PS> netstat -ano | findstr ":80"
TCP [::1]:80 [::]:0 LISTENING 17668 If you want your web server on IPv4 (i.e. I'm not sure how to bind a simple web server to IPv4 and IPv6 at the same time. I would also like |
Hi there. |
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! |
Windows Version
10.0.22621.2428
WSL Version
1.2.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Expected Behavior
Actual Behavior
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: