failed to connect to github.com port 443的解决办法

在windows端使用git向github上提交代码时经常报错failed to connect to github.com port 443,有时候能顺利提交,但是大概率需要连续提交好几次才能成功。

解决办法:使用git bash,输入git config --global http.proxy http://127.0.0.1:7081git config --global https.proxy http://127.0.0.1:7081后解决。其中7081是我的FQ软件绑定的端口。

posted @ 2021-06-05 15:08  西瓜战神  阅读(4946)  评论(8)    收藏  举报