發(fā)布時(shí)間:2023-02-10 16:35:46  訪問次數(shù):436
發(fā)布人:優(yōu)洱士電腦維修
 
Github官網(wǎng)進(jìn)不去怎么辦?Github無法訪問怎么辦?
Github網(wǎng)站中有非常多的好用的實(shí)用工具和開源代碼,對于一些技術(shù)人員來說,這個(gè)網(wǎng)站是非常好用的。但是,由于這個(gè)網(wǎng)站的服務(wù)器在國外,導(dǎo)致網(wǎng)頁加載很慢甚至無法加載,下面小編就為大家講解一下怎么快速的加載GitHub網(wǎng)站吧!
操作方法:
打開hosts文件,可能需要管理員權(quán)限。
win10 hosts位置:C:\Windows\System32\drivers\etc
在末尾新建一行,添加如下內(nèi)容:
# GitHub Host
140.82.112.26 alive.github.com
140.82.114.25 live.github.com
185.199.108.154 github.githubassets.com
140.82.113.22 central.github.com
185.199.108.133 desktop.githubusercontent.com
185.199.108.153 assets-cdn.github.com
185.199.108.133 camo.githubusercontent.com
185.199.108.133 github.map.fastly.net
199.232.69.194 github.global.ssl.fastly.net
140.82.112.4 gist.github.com
185.199.108.153 github.io
140.82.112.3 github.com
140.82.112.6 api.github.com
185.199.108.133 raw.githubusercontent.com
185.199.108.133 user-images.githubusercontent.com
185.199.108.133 favicons.githubusercontent.com
185.199.108.133 avatars5.githubusercontent.com
185.199.108.133 avatars4.githubusercontent.com
185.199.108.133 avatars3.githubusercontent.com
185.199.108.133 avatars2.githubusercontent.com
185.199.108.133 avatars1.githubusercontent.com
185.199.108.133 avatars0.githubusercontent.com
185.199.108.133 avatars.githubusercontent.com
140.82.113.10 codeload.github.com
52.217.129.177 github-cloud.s3.amazonaws.com
52.216.178.147 github-com.s3.amazonaws.com
52.216.140.12 github-production-release-asset-2e65be.s3.amazonaws.com
52.217.196.241 github-production-user-asset-6210df.s3.amazonaws.com
52.217.128.49 github-production-repository-file-5c1aeb.s3.amazonaws.com
185.199.108.153 githubstatus.com
64.71.168.201 github.community
185.199.108.133 media.githubusercontent.com
保存。
或者,也可以:
訪問 https://tool.zzvips/t/dns/ ,在輸入框中填寫 github.com,然后點(diǎn)擊檢測按鈕,會列出響應(yīng)ip,如圖:
在hosts文件結(jié)尾輸入:
# github
52.74.223.119 github.com
203.208.39.99 github.com
打開cmd窗口
執(zhí)行 ipconfig /flushdns
刷新DNS緩存
完成,再訪問github.com就很快了。