使用git clone出現(xiàn)的這個(gè)問題,這個(gè)問題一般是使用翻墻代理軟件引起的
一:取消代理(一般取消后 也不能正常使用git clone,因?yàn)闆]翻墻。。。,網(wǎng)速特好時(shí)偶爾也可以)
取消全局代理:
git config --global --unset http.proxy
git config --global --unset https.proxy
二:設(shè)置正確的代理端口號(hào)
隨后設(shè)置正確的代理端口,如:文章來源:http://www.zghlxwxcb.cn/news/detail-817877.html
# 一般是7890, 查看自己的代理端口
git config --global http.proxy socks5 127.0.0.1:7890
git config --global https.proxy socks5 127.0.0.1:7890
然后就可以正常使用了文章來源地址http://www.zghlxwxcb.cn/news/detail-817877.html
到了這里,關(guān)于Failed to connect to github.com port 443: Connection timed out的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!