GitHub打不开的解决方案(百试不爽法)

一、githup首先打开以下网址,搜索 DNS Resource Records  找到对应的IP地址信息

1、点击访问 GitHub.com - GitHub: Let's build from here · GitHubGitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over four million people use GitHub to build amazing...icon-default.png?t=N7T8https://ipaddress.com/website/github.com

2、点击访问  github.global.ssl.fastly.netDiscover the ultimate resource for github.global.ssl.fastly.net – your one-stop destination for free, easy, and fast information! Start exploring now. ✓icon-default.png?t=N7T8https://ipaddress.com/website/github.global.ssl.fastly.net#ipinfo

3、点击访问  assets-cdn.github.comDiscover the ultimate resource for assets-cdn.github.com – your one-stop destination for free, easy, and fast information! Start exploring now. ✓icon-default.png?t=N7T8https://ipaddress.com/website/assets-cdn.github.com

4、 修改hosts文件

找到hosts地址,一般在C:\Windows\System32\drivers\etc\hosts

Everything打开搜索

Notepad++打开依次复制以上地址

140.82.114.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

5、命令行   ping githup.com

添加 72.14.185.43 github.com

6、命令行刷新DNS: ipconfig/flushdns

就可以正常访问githup了!

重点来了,此方法后期如果不能访问了继续用上面的方法重新设置hosts文件信息就可以再使用了!

二、Watt Toolkit

王炸方法,去Windows自带的应用市场的 Microsoft Store搜索Watt Toolkit。点击安装

选择要加速的githup地址项目

打开githup效果也是贼6的,绝无第一次效果繁琐。

看完是不是觉得我贼6!!!!!

三、最终极办法

前一、二种方法同时用!!!!!!!!!!

  • 18
    点赞
  • 39
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值