搜索

GitHub解决访问慢,无法访问?!!!看看能不能解决


发布时间: 2022-11-25 00:01:01    浏览次数:82 次

第一步:打开站长工具:https://tool.chinaz.com/dns/

 

 

第二步:修改host文件

按照下面路径:C:\Windows\System32\drivers\etc

找到电脑的: hosts

复制一份到电脑桌面,然后记事本打开

hosts 文件中需要写入下面的访问地址:

#github
20.205.243.166 github.com
20.205.243.166 gist.github.com
20.205.243.166 assets-cdn.github.com
20.205.243.166 raw.githubusercontent.com
20.205.243.166 gist.githubusercontent.com
20.205.243.166 cloud.githubusercontent.com
20.205.243.166 camo.githubusercontent.com
20.205.243.166 avatars0.githubusercontent.com
20.205.243.166 avatars1.githubusercontent.com
20.205.243.166 avatars2.githubusercontent.com
20.205.243.166 avatars3.githubusercontent.com
20.205.243.166 avatars4.githubusercontent.com
20.205.243.166 avatars5.githubusercontent.com
20.205.243.166 avatars6.githubusercontent.com
20.205.243.166 avatars7.githubusercontent.com
20.205.243.166 avatars8.githubusercontent.com

完成后保存一下

检查一下这时候文件名是:hosts ;

将修改好的:hosts,文件按照原路径覆盖替换了原来的:hosts文件

第三步:刷新DNS

win+r, 打开cmd窗口

在 CMD 命令行中键入:ipconfig /flushdns

执行刷新 DNS,重启浏览器之后就能进入Github 网址.

ipconfig /flushdns斜杠之前有一个空格

 推荐github的一个开源项目:FastGithub 。这个效果就比较理想,基本每次都能访问到;

应用程序地址:https://github.com/dotnetcore/FastGithub/releases

 

 下载你电脑对应的系统版本就行,下载后解压;双击运行。会出现风险提示;

火狐浏览器需要进行设置

参考:https://www.cnblogs.com/lwt280887072/p/16916969.html

 

 

 

免责声明 GitHub解决访问慢,无法访问?!!!看看能不能解决,资源类别:文本, 浏览次数:82 次, 文件大小:-- , 由本站蜘蛛搜索收录2022-11-25 12:01:01。此页面由程序自动采集,只作交流和学习使用,本站不储存任何资源文件,如有侵权内容请联系我们举报删除, 感谢您对本站的支持。 原文链接:https://www.cnblogs.com/lwt280887072/p/16916629.html