Github不能正常访问的解决方法 发表于 2020-03-29 问题:1、Github能打开,图片不能正常显示2、Github代码推送超时 解决:hosts文件添加ip映射 12345windows下路径:C:\Windows\System32\drivers\etc\hostsLinux下路径:/etc/hosts 加入以下内容 123456789101112131415161718192021222324252627282930313233# GitHub Start192.30.253.112 github.com192.30.253.119 gist.github.com151.101.100.133 assets-cdn.github.com151.101.100.133 raw.githubusercontent.com151.101.100.133 gist.githubusercontent.com151.101.100.133 cloud.githubusercontent.com151.101.100.133 camo.githubusercontent.com151.101.100.133 avatars0.githubusercontent.com151.101.100.133 avatars1.githubusercontent.com151.101.100.133 avatars2.githubusercontent.com151.101.100.133 avatars3.githubusercontent.com151.101.100.133 avatars4.githubusercontent.com151.101.100.133 avatars5.githubusercontent.com151.101.100.133 avatars6.githubusercontent.com151.101.100.133 avatars7.githubusercontent.com151.101.100.133 avatars8.githubusercontent.com 参考Github之前进入正常,随后访问不了解决方案