1. 错误:Failed to connect to github.com port 443: Connection refused
1.1. 解决方法
#查询ip地址,或nslookup等方式查询ip
ping github.com
#配置指定ip解析
vi /etc/hosts (添加下dns地址,做域名指定IP解析)
1.2. 参考博文
- https://blog.csdn.net/qq_45435600/article/details/98177142 (Git的错误error: Failed connect to github.com:443;解决办法)
- https://blog.csdn.net/wulitaotao96/article/details/117222499 (解决git clone时的问题:Failed connect to github.com:443;Connection refused)