No internet connection on WSL Ubuntu (Windows Subsystem for Linux)
问题 Recently I installed WSL Ubuntu 18.04 on my Windows machine, but nothing seems to work properly, because I have no internet access . I tried a few commands and sudo apt update says 'Connection failed' and ping google.com literally takes foreveras you can see in this screenshot: https://i.stack.imgur.com/NXJNx.png I also checked nano /etc/resolv.conf and made sure that the nameservers are right, completely disabled Kaspersky and its firewall, disabled Hyper-V, reinstalled WSL a few times and