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...https://ipaddress.com/website/github.comca3a41f2981ef53f857e9a64912739f1.png

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. ✓https://ipaddress.com/website/github.global.ssl.fastly.net#ipinfoa5c30aa83d52baaacd35ec2898321e0c.png

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. ✓https://ipaddress.com/website/assets-cdn.github.com2bdb8b3d85e56d3be28d75967830efba.png

4、 修改hosts文件

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

Everything打开搜索

b6933b09983a89073e3b582b6aaebf13.png

 

ea7003a821489c2e98dd31ca8f264b26.pngNotepad++打开依次复制以上地址

323ffb644c44f135b1689ff67aed4d5b.png

 

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

e4081a59f49fbc6c96b60dab941e9488.png

添加 72.14.185.43 github.com

 

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

92282175e76332231777688bc2c2517e.png

就可以正常访问githup了!

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

 

二、Watt Toolkit

 

 

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

选择要加速的githup地址项目

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

 

看完是不是觉得我贼6!!!!!a6ec0f6c227d09c95cc003882a3b1d0d.png

 

三、最终极办法

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

 

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值