解决浏览器打不开github网站常用方法

一、确定github网站的ip

打开网址:github.com.ipaddress.com

192.30.253.112 github.com

192.30.253.113 github.com

二、确定域名ip

打开网址:github.global.ssl.fastly.net.ipaddress.com

或者是

151.101.185.194 github.global.ssl.fastly.net

151.101.13.194 github.global.ssl.fastly.net

三、确定静态资源ip

打开网址:assets-cdn.github.com.ipaddress.com

151.101.12.133 assets-cdn.github.com

151.101.184.133 assets-cdn.github.com

四、修改hosts文件

192.30.253.112 Build software better, together 
192.30.253.113 Build software better, together 
151.101.185.194 github.global.ssl.fastly.net
151.101.13.194 github.global.ssl.fastly.net
151.101.12.133 assets-cdn.github.com
151.101.184.133 assets-cdn.github.com

附:ipaddress.com/ 此网站可以查询网址的ip

编辑于 2018-04-26 17:33