# Github無法訪問問題
最近GitHub登錄又失效了,然後按網上說法修改了host文件,可是依然無法登錄。
這個問題主要是GitHub那些網址域名更換了,解決方法就是查詢
登錄網站https://ipchaxun.com/ ,例如輸入github.com
果然,解析全部換了,不是原來大家博客寫的
然後一一替換,在 C:\Windows\System32\drivers\etc的'host'文件中
加入
# 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
如果依然無法登錄,請檢查前面的解析是否還在。
然後就可以登錄GitHub了