WSL 2 Network unreachable

I am on Windows 11 using WSL2 using MicroSoft DOC and it installed successfully ( I am not new ) but It stuck with network unreachable problem. Tried many solutions from GitHub & StackOverflow none of them works. I am using Ubuntu-20.04 with WSL2. It works, If I switched to WSL1

Already asked HERE didn’t found any solution :frowning:

OS: Windows 11 Pro ( also didn't works on win 10, I just installed
 & uninstalled WIN many time for this problem still not working )

Version: 21H2
OS Build: 22000.318
Experience: Windows Feature Experience Pack 1000.22000.318.0

Error, When I tried to hit sudo apt-get update

Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease
  Cannot initiate the connection to security.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to security.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to security.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to security.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to security.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to security.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to security.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to security.ubuntu.com:80 (192.26.92.30), connection timed out
Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.12.94.30), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to archive.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.12.94.30), connection timed out
Err:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable)
Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable)
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.12.94.30), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to archive.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to archive.ubuntu.com:80 (192.12.94.30), connection timed out
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:502:1ca1::30). - connect (101: Network is unreachable)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease  Cannot initiate the connection to security.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:500:856e::30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:a83e::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:231d::2:30). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:503:83eb::30). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to security.ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to security.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to security.ubuntu.com:80 (192.26.92.30), connection timed out Could not connect to security.ubuntu.com:80 (192.31.80.30), connection timed out Could not connect to .ubuntu.com:80 (192.5.6.30), connection timed out Could not connect to security.ubuntu.com:80 (192.33.14.30), connection timed out Could not connect to security.ubuntu.com:80 (192.26.92.30), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

Welcome there,

If I recall correctly, I came across that same error, when I first installed WSL2. For me, it was an issue with my ISP/DNS config.

What resolved it was:

  1. Disabling the parental control filters on my broadband account
  2. Manually configuring my DNS to use Google’s Cloudflare at 1.1.1.3 (you can probably also use 1.1.1.1)

Potentially, you could just confirm this by changing network, but it is not difficult to change.

Hope this helps

Hi,

Glad you at least answer. Thanks for your time. But It still not working :frowning:

  1. I don’t have any parental filters
  2. I did it still not working :pensive:

Everything is fine just network :frowning: I installed windows + fresh WSL2 Installation + Updated to WSL2 + Ubuntu 20LTS Installation.

PC internet is working great, Even WSL1 works fine with my current setup it just WSL2 that didn’t works :frowning: