修改host加速github

修改host加速github

1.访问官网

https://www.ipaddress.com/ip-lookup

2. 获取 global.ssl.fastly地址

http://github.global.ssl.fastly.net.ipaddress.com/#ipinfo

3. 获取github地址

http://github.com.ipaddress.com/#ipinfo

4. 获取assets-cdn.github.com地址

https://github.com.ipaddress.com/assets-cdn.github.com

140.82.114.3 github.com
185.199.108.153 assets-cdn.github.com
185.199.109.153 assets-cdn.github.com
151.101.184.249 global.ssl.fastly.net
140.82.114.4 github.com
151.101.72.133 assets-cdn.github.com
199.232.5.194 github.global.ssl.fastly.net

4. 修改host

windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts

5.cmd运行以下代码刷新DNS

ipconfig /flushdns

猜你喜欢

转载自blog.csdn.net/weixin_44179485/article/details/113615213