1偿乖、找到host所在的路徑
C:\Windows\System32\drivers\etc
如圖:
2击罪、打開host文件
步驟:記事本打開host文件,復(fù)制以下文本到記事本贪薪,保存媳禁。
# Github
192.30.253.113 github.com
151.101.185.194 github.global.ssl.fastly.net
203.98.7.65 gist.github.com
13.229.189.0 codeload.github.com
185.199.109.153 desktop.github.com
185.199.108.153 guides.github.com
185.199.108.153 blog.github.com
18.204.240.114 status.github.com
185.199.108.153 developer.github.com
185.199.108.153 services.github.com
192.30.253.175 enterprise.github.com
34.195.49.195 education.github.com
185.199.108.153 pages.github.com
34.196.237.103 classroom.github.com
3、刷新 DNS 解析緩存
步驟:win+R,輸入cmd,然后輸入ipconfig /flushdns
顯示結(jié)果:
C:\Users\Administrator>ipconfig /flushdns
Windows IP 配置
已成功刷新 DNS 解析緩存画切。