The ultimate solution to the problem that Github cannot display images

The ultimate solution to the problem that Github cannot display images

[[379338]]

Preface

Not long ago, I encountered the problem that GitHub could not load images. I searched for a solution online and added a string of IP addresses after the hosts file. At that time, I saw that it was solved, so I didn't investigate it further. But today, this problem of no images appeared again. I thought it would be better to know the reason and find out what the problem is.

Solution

Based on the previous experience of modifying the hosts file, the first judgment may be that there is a problem with the domain name resolution. It may be that the IP address of the domain name cannot be found in China, so we need to configure it ourselves. So F12, sure enough, there are many access denied errors for the same domain name.


Query the domain name https://avatars.githubusercontent.com through https://www.ipaddress.com/ and find the IP address of the domain name.


It seems that on the 26th, the domain name updated the bound IP.

Update the hosts file:


Oh yeah


The configuration in hosts is definitely incomplete. If you encounter similar problems on GitHub or other websites in the future, you can use this method or idea to solve them.

<<:  How 5G will shape the future of construction

>>:  How to jointly build and share 5G networks?

Recommend

When will the price of NB-IoT modules drop below 20 yuan?

The cost of NB-IoT, especially the module cost, h...

6 Examples of How 5G Can Improve IoT Deployments

As digital transformation is in full swing, the n...

Shanxi's first "government cloud" platform launched in Xinzhou

Recently, with the "Xinzhou Public Trading P...

What is the difference between 5G and 6G?

In a world where technology is constantly evolvin...

IPv6 is coming, what should we do with SDN?

IPv6 has been called for so many years, and final...

2020, a new starting point for 5G messaging

Currently, nearly 100 operators around the world ...

My sister asked me why I used Start instead of Run when starting a thread.

[[357639]] This article is reprinted from the WeC...

On the improvement skills of data center operation and maintenance

The stable operation of a data center is insepara...

Damn it, Xiaolin is playing tricks on me again!

Hello everyone, I am Xiaolin. A few days ago, a r...