参考博客
- OpenSSL SSL_read: Connection was reset, errno 10054 错误解决
- 解决 Failed to connect to github.com port 443:connection timed out
- GitHub无法访问、443 Operation timed out的解决办法
- Windows下的hosts文件在哪里
- 如何使用管理员身份打开系统文件
- 网站1:https://ipaddress.com/website/github.com
- 网站2:https://ipaddress.com/website/github.global.ssl.fastly.net#ipinfo
- 网站3:https://ipaddress.com/website/assets-cdn.github.com
使用git push到github仓库的时候,报错10054,参考博客1中所说:
git config --global http.sslVerify "false"
继续报错 Time Out443,参考博客3所说:将hosts文件中添加如下的代码
140.82.113.4(图1的IP Address) github.com
199.232.69.194(图2的IP Address) github.global.ssl.fastly.net
185.199.108.153(图3的IP Address) assets-cdn.github.com
185.199.109.153(图3的IP Address) assets-cdn.github.com
185.199.110.153(图3的IP Address) assets-cdn.github.com
185.199.111.153(图3的IP Address) assets-cdn.github.com
Windows 下hosts文件:C/windows/system32/driver/etc/hosts
按照参考博客顺序,依次食用,即可!