解决 github.com 无法访问问题
1、查ip
进入 ip.chinaz.com ,分别输入github.com 和github.global.ssl.fastly.net
可以查到两个ip
2、修改hosts文件
进入C:\Windows\System32\drivers\etc
在末尾加入ip和网址(两个都加入)并保存
#140.82.113.4 github.com #52.74.223.119 www.github.com #185.31.17.184 github.global.ssl.fastly.net #github #192.30.253.112 github.com #151.101.113.194 github.global.ssl.fastly.net 20.205.243.166 github.com 203.98.7.65 gist.github.com 185.199.108.153 assets-cdn.github.com 185.199.111.133 raw.githubusercontent.com 185.199.110.133 gist.githubusercontent.com 185.199.111.133 cloud.githubusercontent.com #151.101.100.133 camo.githubusercontent.com #151.101.100.133 avatars0.githubusercontent.com #151.101.100.133 avatars1.githubusercontent.com #151.101.100.133 avatars2.githubusercontent.com #151.101.100.133 avatars3.githubusercontent.com #151.101.100.133 avatars4.githubusercontent.com #151.101.100.133 avatars5.githubusercontent.com #151.101.100.133 avatars6.githubusercontent.com #151.101.100.133 avatars7.githubusercontent.com #151.101.100.133 avatars8.githubusercontent.com
3、可以直接访问http://github.com
4、部分情况可能需要在cmd输入ipconfig /flushdns 刷新
为人:谦逊、激情、博学、审问、慎思、明辨、 笃行
学问:纸上得来终觉浅,绝知此事要躬行
为事:工欲善其事,必先利其器。
态度:道阻且长,行则将至;行而不辍,未来可期
.....................................................................
------- 桃之夭夭,灼灼其华。之子于归,宜其室家。 ---------------
------- 桃之夭夭,有蕡其实。之子于归,宜其家室。 ---------------
------- 桃之夭夭,其叶蓁蓁。之子于归,宜其家人。 ---------------
=====================================================================
* 博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。
* 如有侵权,马上联系我,我立马删除对应链接。 * @author Alan -liu * @Email no008@foxmail.com
转载请标注出处! ✧*꧁一品堂.技术学习笔记꧂*✧. ---> https://www.cnblogs.com/ios9/
学问:纸上得来终觉浅,绝知此事要躬行
为事:工欲善其事,必先利其器。
态度:道阻且长,行则将至;行而不辍,未来可期
.....................................................................
------- 桃之夭夭,灼灼其华。之子于归,宜其室家。 ---------------
------- 桃之夭夭,有蕡其实。之子于归,宜其家室。 ---------------
------- 桃之夭夭,其叶蓁蓁。之子于归,宜其家人。 ---------------
=====================================================================
* 博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。
* 如有侵权,马上联系我,我立马删除对应链接。 * @author Alan -liu * @Email no008@foxmail.com
转载请标注出处! ✧*꧁一品堂.技术学习笔记꧂*✧. ---> https://www.cnblogs.com/ios9/