当前位置:   article > 正文

GitHub打开慢_github加载慢

github加载慢

修改hosts

第一步:获取github ip

打开:https://github.com.ipaddress.com/
在这里插入图片描述

打开:https://fastly.net.ipaddress.com/github.global.ssl.fastly.net
在这里插入图片描述

最后打开链接获取GitHub静态资源IP地址:https://github.com.ipaddress.com/assets-cdn.github.com
在这里插入图片描述

第二步:写入到hosts文件

140.82.112.3    github.com
199.232.69.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
  • 2
  • 3
  • 4
  • 5
  • 6

在这里插入图片描述

C:\Windows\System32\drivers\etc
在这里插入图片描述

第三步:打开CMD命令刷新dns缓存

打开系统CMD命令框,输入下面的命令执行

ipconfig /flushdns
  • 1

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/716628
推荐阅读
相关标签
  

闽ICP备14008679号