GitHub website can not be accessed to solve the problem

Time:2022-1-1

Today, I’m going to find some information on GitHub, but when I visit GitHub, I’m prompted that I can’t access this website. It’s still the same after changing multiple browsers. I saw a big brother’s blog in CSDN in the background and finally solved it. Here’s a record so that I can quickly find a solution to this problem in the future

Add the following information to the hosts file (hosts file address: C: windowssystem32drivers etc.):

140.82.112.4 github.com
140.82.113.3 gist.github.com
185.199.108.153 assets-cdn.github.com
199.232.68.133 raw.githubusercontent.com
199.232.68.133 gist.githubusercontent.com
199.232.68.133 cloud.githubusercontent.com
151.101.192.133 camo.githubusercontent.com
199.232.68.133 avatars0.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars3.githubusercontent.com
199.232.68.133 avatars4.githubusercontent.com
199.232.68.133 avatars5.githubusercontent.com
199.232.68.133 avatars6.githubusercontent.com
199.232.68.133 avatars7.githubusercontent.com
199.232.68.133 avatars8.githubusercontent.com

After adding the above information, you can access it successfully again

GitHub website can not be accessed to solve the problem

reference resources: https://blog.csdn.net/weixin_…

Recommended Today

Could not get a resource from the pool when the springboot project starts redis; nested exception is io. lettuce. core.

resolvent: Find your redis installation path: Start redis server Exe After successful startup: Restart project resolution. ———————————————————————->Here’s the point:<——————————————————————- Here, if you close the redis command window, the project console will report an error. If you restart the project, the same error will be reported at the beginning, The reason is: It is inconvenient to […]