Ubuntu 20.04.1 LTS sudo apt-get update Errors (Connection failed)

Asked by Sajid Ali on 2020-11-16

Dear all,
I have problems while doing "sudo apt-get update". Could you please help!
Output of the command is:

(base) sajid@sajid-Lenovo-Yoga-500-15ISK:~$ sudo apt-get update
[sudo] password for sajid:
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
  Connection failed [IP: 80]
Err:3 http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu focal InRelease
  Connection failed [IP: 80]
Err:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  Connection failed [IP: 80]
Err:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
  Connection failed [IP: 80]
Err:6 http://archive.ubuntu.com/ubuntu focal-security InRelease
  Connection failed [IP: 80]
Hit:7 https://download.sublimetext.com apt/stable/ InRelease
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Connection failed [IP: 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Connection failed [IP: 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Connection failed [IP: 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease Connection failed [IP: 80]
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/dists/focal/InRelease Connection failed [IP: 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

Sajid Ali (sajidali1610) said : #1

ping is working. I also tried to change the download server from "Software & Updates". All in vain!

Manfred Hampl (m-hampl) said : #2

The messages "Connection failed" indicate that there was a network access problem.

For diagnostic purposes please provide the output of the following commands:

uname -a
lsb_release -crid

Can you access the server http://archive.ubuntu.com/ubuntu with your web browser?

If you change the repository server to a local one (see e.g. https://www.ubuntubuzz.com/2018/03/how-to-change-ubuntu-repository-mirror-sources.html ), do you still receive error messages? If yes, then please copy/paste the messages into this question document.

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.