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

Are driverless cars, smart homes, telemedicine, etc. all dependent on 5G?

1. As for the reason why 5G was over-promoted bef...

Does eSIM have a big impact on mobile network operators?

The number of cellular Internet of Things (IoT) c...

What exactly is Wi-Fi 6?

Wi-Fi has been around for more than two decades, ...

Let’s talk about the four major features of 5G

From telegraphs, telephones to mobile phones, and...