参考 完美解决github访问速度慢

一、找到域名对应的IP

    获取Github相关网站的ip
    访问https://www.ipaddress.com,拉下来,找到页面中下方的“IP Address Tools – Quick Links”
   分别输入github.global.ssl.fastly.net和github.com,查询ip地址
   下面是我的配置(2022.04.24)

140.82.1143.3 github.com
140.82.1143.3 www.github.com
199.232.69.194 github.global.ssl.fastly.net

二、修改 hosts文件
windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts
mac/linux系统的hosts文件的位置如下:/etc/hosts

 

解决GitHub访问慢的问题 - 掘金 (juejin.cn)

posted on 2022-04-24 09:53  余昭(Ray)  阅读(110)  评论(0编辑  收藏  举报