Github 无法访问

Posted by Tan Lin on February 28, 2021

VPN

vpn 已经启用,google访问正常,github头天还很正常,突然就无法访问了,ping偶尔超时

需要配置host,之前github的 ip 是140.82.113.3,gist的ip是140.82.112.4,最新的地址变成了114.4了

ref-Segmentfault

# GitHub Start 
140.82.114.4 github.com
140.82.114.4 gist.github.com
185.199.108.153 assets-cdn.github.com
151.101.64.133 raw.githubusercontent.com
151.101.108.133 gist.githubusercontent.com
151.101.108.133 cloud.githubusercontent.com
151.101.108.133 camo.githubusercontent.com
151.101.108.133 avatars0.githubusercontent.com
151.101.108.133 avatars1.githubusercontent.com
151.101.108.133 avatars2.githubusercontent.com
151.101.108.133 avatars3.githubusercontent.com
151.101.108.133 avatars4.githubusercontent.com
151.101.108.133 avatars5.githubusercontent.com
151.101.108.133 avatars6.githubusercontent.com
151.101.108.133 avatars7.githubusercontent.com
151.101.108.133 avatars8.githubusercontent.com 
# GitHub End

随时查看是不是 IP 有更新

ip-address

输入 github.com 查看ip,然后再替换host就好了

最后吐槽一下,Github 的IP为啥老是换来换去的…