# Connection failed on sudo apt update

**URL:** <https://deeptalk.lambda.ai/t/connection-failed-on-sudo-apt-update/3102>\
**Category:** Technical Help\
**Created:** [July 18, 2022, 7:56pm UTC](https://deeptalk.lambda.ai/t/connection-failed-on-sudo-apt-update/3102 "2022-07-18T19:56:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![vmantri](https://avatars.discourse-cdn.com/v4/letter/v/df788c/32.png) [@vmantri](https://deeptalk.lambda.ai/u/vmantri)\
**Post date:** [July 18, 2022, 7:56pm UTC](https://deeptalk.lambda.ai/t/connection-failed-on-sudo-apt-update/3102/1 "2022-07-18T19:56:30Z")

</div>

Hi I get the connection failed error. I did all the basic things 1) Disabled firewall 2) Checked my router settings to make sure and i was able to ping that ip address 3) I backed up source list and ran apt clean

```
venkat@ml-turing-develop:~$ sudo apt update
[sudo] password for venkat: 
Err:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
  Connection failed [IP: 91.189.91.39 80]
Err:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease              
  Connection failed [IP: 91.189.91.38 80]
Err:3 http://archive.canonical.com/ubuntu focal InRelease                      
  Connection failed [IP: 185.125.188.12 80]
Err:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease            
  Connection failed [IP: 91.189.91.39 80]
Err:5 http://archive.lambdalabs.com/ubuntu focal InRelease                     
  Connection failed [IP: 52.218.246.130 80]
Err:6 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
  Connection failed [IP: 91.189.91.38 80]
Reading package lists... Done                        
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal/InRelease Connection failed [IP: 91.189.91.39 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Connection failed [IP: 91.189.91.38 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Connection failed [IP: 91.189.91.39 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/focal/InRelease Connection failed [IP: 185.125.188.12 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/focal-security/InRelease Connection failed [IP: 91.189.91.38 80]
W: Failed to fetch http://archive.lambdalabs.com/ubuntu/dists/focal/InRelease Connection failed [IP: 52.218.246.130 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

```

---

_[View the full topic](https://deeptalk.lambda.ai/t/connection-failed-on-sudo-apt-update/3102)._
