git pull失败:Failed to connect to 127.0.0.1 port 10080: Connection refused
原因分析:看报错意思是pull时将请求打到了本机的10080端口,而本机的10080端口没程序在用,所以就被拒绝了。猜想可能是代理问题
git config --list
http.proxy=http://127.0.0.1:10080
确实是被代理了。
使用git命令解除代理即可解决
git config --global --unset http.proxygit config --global --unset https.proxy