-
Notifications
You must be signed in to change notification settings - Fork 812
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
No connectivity inside WSL (ping 8.8.8.8
)
#12057
Comments
View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
Diagnostic information
|
Most of the linked issues have no answers; those that do, do not work for me. |
Interestingly, if I run a server inside WSL, it can be accessed from outside:
and
I can also do the reverse, though only by using |
My flask inside WSL suddenly stopped working after I updated windows. I can ping out form WSL just fine, but If I try to connect to the flaks server via the browser, I get connection refused. |
I uninstalled windows update: and that fixed it. I can access the loopback interface through wsl again. However, now my start menu does not work.. |
Windows Version
Microsoft Windows [Version 10.0.22631.3880]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Expected Behavior
Something similar to
Actual Behavior
NOTES:
TCP/IP in WSL worked when I first installed it. It broke later; I am not sure why. It may have been because Norton 360 For Gamers activated; I have uninstalled it since. It may have been because I installed Docker inside WSL Ubuntu. I have since made a clean reinstall of WSL, with no packages installed (except net-tools,. which I managed to install from
dpkg
downloaded from Windows), and it is broken. I have tried installing and uninstalling Hyper-V (from Turn Windows Features On or Off). I have disabled Fast Restart. I have seen decompressing all files suggested, so I tried that as well. I have also disabled swap in.wslconfig
. None of these resolved the problem.I saw some other issues on WSL connectivity, where the suggested remedy is setting nameserver. This is unrelated, the numeric IPs don't work.
Here is some more output I have collected:
and on the host Windows cmd:
Diagnostic Logs
WslNetworkingLogs-2024-09-20_16-34-16.zip
WslLogs-2024-09-20_16-35-48.zip
The text was updated successfully, but these errors were encountered: