WSL ubuntu 18.04 cant get update
I use Windows 10 Pro 1803 Build n 17134.1069 Enabled developer mode Enabled WSL mode Installed Ubuntu 18.04 First time start failed with cannot specific file location.... Googled and copy all content from windowsapp/....ubuntu18.04 to created new folder C: ubuntu18.04 Then run ubuntu.exe installd succesfully I want to install ansible, to do so i want to get updates I tgives error like: Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.142). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused)
I cant connect to archive.ubuntu.com with my browser also, so I use shadowsocksR. With shadowsocks i can connect to archive.ubuntu.com. But WSL still cant get update with shadowsocks
I cant connect to archive.ubuntu because government is blocking some websites
same issue for me also.
Same as here: https://github.com/microsoft/WSL/issues/5198
Make sure nothing is blocking repos on your host machine.
Marking as duplicate of #5198