One trick to permanently solve the problem of not being able to connect to github

First, open the following file

Then copy and paste this code at the end of the text

20.205.243.166 github.com
# GitHub Start
140.82.114.4 github.com
199.232.69.194 github.global.ssl.fastly.net
# GitHub End
 

 Then save and exit, finally open cmd and use the command

ipconfig/flushdns

Just refresh the DNS

 After completion, you can directly access github.com

Effective in personal testing

 

Guess you like

Origin blog.csdn.net/weixin_55347789/article/details/131659539