上一篇文章http://t.csdnimg.cn/IsTtq解决了无法ping通github.com的问题。
但是之后在向GitHub仓库push代码时,遇到了如下问题,导致代码push不成功:

Failed to connect to github.com port 443 after 21068 ms: Couldn't connect to server

通过下面的方案,解决了上述问题:将文件C:\Windows\System32\drivers\etc\hosts中的140.82.113.3 github.com git注释掉
在这里插入图片描述

Logo

一站式 AI 云服务平台

更多推荐