windows解决访问Github慢

1、打开网页

https://www.ipaddress.com/

 

 

2、分别输入

github.com 

http://github.global.ssl.fastly.net

3、获取对应的ip

 

 

4、将两个ip追加到文件末尾

C:/windows/system32/drivers/etc/hosts

 

 5、打开cmd,执行指令,刷新dns

ipconfig /flushdns

 

 

ps:上面dns查询网址如果不能用,可以试试:https://tool.lu/ip

posted @ 2021-03-04 00:00  朱小勇  阅读(117)  评论(0编辑  收藏  举报