git拉取github代码超时,出现如下报错Failed to connect to github.com port 443 after 2110 ms: Couldn’t connect to server
网上的解决办法是
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
(注意端口是自己的代理端口,可以自行系统网络查看,一般是7890)
注意这里是https.proxy,而不是https://…,就是这个地方made,一晚上git不出来
在尝试从GitHub拉取代码时遇到连接超时的问题,错误信息显示为Failedtoconnecttogithub.comport443....一种可能的解决方案是设置HTTP代理,命令行输入gitconfig--globalhttp.proxyhttp://127.0.0.1:7890和gitconfig--globalhttps.proxyhttp://127.0.0.1:7890,这里的端口需替换为个人系统的实际代理端口。请注意配置时应避免在URL中添加https://前缀,这是导致问题的原因之一。
2164

被折叠的 条评论
为什么被折叠?



