Solution to slow github access

Multiple locations ping[github.com] server, website speed measurement, webmaster tools
https://ping.chinaz.com/github.com

Multiple locations ping[assets,cdn.github.com] server, website speed measurement, webmaster tools
https://ping.chinaz.com/assets-cdn.github.com

Multiple locations ping[github.global.ssl.fastly.net] server, website speed measurement, webmaster tools
https://ping.chinaz.com/github.global.ssl.fastly.net

First visit the above URL, and then copy the first few "independent IP" on the web page, I usually copy 6 to 8. Then copy these IPs to

In the hosts file under the C:\Windows\System32\drivers\etc folder, after a simple modification, it is as follows:

20.205.243.166 github.com
20.205.243.166 github.com
20.27.177.113 github.com
20.248.137.48 github.com
140.82.114.4 github.com
140.82.121.4 github.com
140.82.113.4 github.com
140.82.121.3 github.com
140.82.114.3 github.com

151.101.1.6 github.global.ssl.fastly.net
69.63.176.143 github.global.ssl.fastly.net
103.252.114.11 github.global.ssl.fastly.net
69.171.247.32 github.global.ssl.fastly.net
173.252.248.244 github.global.ssl.fastly.net
108.160.167.147 github.global.ssl.fastly.net
208.43.237.140 github.global.ssl.fastly.net
118.184.26.113 github.global.ssl.fastly.net
174.36.196.242 github.global.ssl.fastly.net

185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
185.199.110.153 assets-cdn.github.com
185.199.111.153 assets-cdn.github.com
199.59.148.9 assets-cdn.github.com

After saving, enter in the command line (cmd)

ipconfig /flushdns 

Let the above changes take effect quickly.

The more ip addresses of the above items, the higher the probability of successful access to github. If it is not replaced for a long time, it may become invalid. In case of failure, perform the above steps again.

Pro-test works!

Guess you like

Origin blog.csdn.net/Jerry_liu20080504/article/details/132447746