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

PoE Troubleshooting Guide: Common Problems and Solutions

Power over Ethernet (PoE) is a revolutionary tech...

What else does 5G have besides being fast?

The chaos in the domestic communications industry...

5G mobile phones are coming! Who will be the next Nokia?

"With 43 million analog mobile phone users, ...

Managing a data center requires foresight

More and more businesses are finding that in orde...

IDC: Core network infrastructure market growth is slow but stable

According to IDC's Global Ethernet Switch and...

Demystifying the elastic data center

When it comes to data centers, the term "res...

MU-MIMO technology: the key to turning slow networks into lightning-fast ones

In recent years, with the rapid development of wi...

State management expert: Cookies and Session

1. Introduction Hello everyone, I am Xiao❤, a 985...