github访问迟钝,修改设置文件快速访问
1.获取github.com的IP地址点击下方链接,获取一个地址:140.82.114.4
GitHub.com - GitHub: Let's build from here · GitHub (ipaddress.com)https://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N7T8https://sites.ipaddress.com/github.com/
https://img-blog.csdnimg.cn/direct/96666a84ab6c4e70bedb6d2b805c235f.png
2.获取github.global.ssl.fastly.net的IP地址
点击下方链接获取四个地址:151.101.1.194, 151.101.65.194, 151.101.129.194 , 151.101.193.194
github.global.ssl.fastly.net (ipaddress.com)https://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N7T8https://sites.ipaddress.com/github.global.ssl.fastly.net/https://img-blog.csdnimg.cn/direct/7bc7930129e64219867c76207ba9f90a.png
3.获取assets-cdn.github.com的IP地址
点击下方链接获取四个地址: 185.199.108.153, 185.199.109.153, 185.199.110.153,185.199.111.153
assets-cdn.github.com (ipaddress.com)https://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png?t=N7T8https://sites.ipaddress.com/assets-cdn.github.com/ https://img-blog.csdnimg.cn/direct/01e62cce610a407485835c6bb721533e.png
4.修改hosts文件
文件位置:C:\Windows\System32\drivers\etc
添加映射到文件中:
140.82.114.4 github.com
151.101.1.194 github.global.ssl.fastly.net
151.101.65.194 github.global.ssl.fastly.net
151.101.129.194 github.global.ssl.fastly.net
151.101.193.194 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
假如无法修改应该是文件无权限修改,必要修改该文件的权限,允许修改:
(1)右键选中选择属性
https://img-blog.csdnimg.cn/direct/f8e9d11a04d74cbf89fdad63ff7bdb89.png
(2)点击安全,查看用户是否对该文件由修改属性(我这里就是有)
https://img-blog.csdnimg.cn/direct/e0c786764597441084145ca6c36b441f.png
(3)对权限举行修改
https://img-blog.csdnimg.cn/direct/68b92b74f9cc4dd198f64df7f0d2690d.png
5.革新DNS解析缓存并验证
(1)打开cmd
https://img-blog.csdnimg.cn/direct/1b33f229a7de46b289a4fddc37e6e477.png
(2)输入ipconfig /flushdns,运行
ipconfig /flushdns
https://img-blog.csdnimg.cn/direct/075e32b6e9d84fa1884659e3b5f39e20.png
6.地址栏输入github.com举行验证,访问速率变快了,假如后续速率又变慢了,可再次重复上述操纵,修改hosts
鉴戒的这位大哥的,更详细的查看该链接
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]