vscode使用 git时,发生错误"Failed to connect to 127.0.0.1 port 1080 after 2078 ms: Couldn’t connect to server"
原因:网速过慢
解决方法
先设置全局代理
git config --global http.proxy http://127.0.0.1:1080
git config --global https.proxy http://127.0.0.1:1080
然后在取消全局代理
git config --global --unset http.proxy
git config --global --unset https.proxy