Need Help?

Our experts will login to your server within 30 minutes to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Our experts will login to your server within 30 minutes to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

apt-get connect (101 network is unreachable) : Quick fix!

Looking forward to resolve apt-get connect (101 network is unreachable)? We can help you in fixing it. 

The error usually occurs while accessing the network for updating or installing.

At Bobcares, we often get requests from our customers to fix the error network is unreachable as part of our Server Management Services.

Today, let’s get into the details on how our Support Engineers fix this problem.

 

What causes apt-get connect (101 network is unreachable)?

The error mainly occurs due to problems in network connections.

This error indicates that either the IPv6 connection is unstable, or the servers are dead, or the file is not found.

For instance, the error appears as follows.

apt-get connect (101 network is unreachable)

Let’s see how our Support Engineers help the customer to fix this.

 

Easy way to fix the error

At Bobcares, where we have more than a decade of expertise in managing servers, we see many customers face error apt-get connect (101 network is unreachable).

Now, let’s see the major reasons and how our Support Engineers fix this error.

 

Disabling ipv6

Recently one of the customers was getting Update information outdated alert then he applied sudo apt-get update command. Unfortunately, the user got stuck with this error.

On further analysis, we could trace from the logs that the user’s machine was using IPv6 to connect to the internet.

Hence, the reason behind the error was user’s internet service provider does not support IPv6. So we tried disabling IPv6.

To do this system-wide, we edited the file /etc/default/grub by running the below command

sudo nano /etc/default/grub

And added the following.

ipv6.disable=1

To the value of GRUB_CMDLINE_LINUX_DEFAULT.

In a default Ubuntu installation, that line reads

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

so we changed it to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable"

Then, we ran the following command.

sudo update-grub

Finally, we rebooted the server.

Finally, the connection problem was then resolved.

 

Enabling secure port

In addition, in certain cases this error results due to closed port 443.

We then open the secure port and the error get disappeared.

 

[Having trouble with this error? We’ll fix it for you.]

 

Conclusion

In short, apt-get connect (101 network is unreachable) occurs due to problems in network connection. Today, we saw how our Support Engineers helped the customer in fixing the error.


PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

ubuntu

Submit a Comment

Your email address will not be published. Required fields are marked *