700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > git pull 失败:Failed to connect to 127.0.0.1 port 10080: Connection refused

git pull 失败:Failed to connect to 127.0.0.1 port 10080: Connection refused

时间:2018-12-05 02:43:35

相关推荐

git pull 失败:Failed to connect to 127.0.0.1 port 10080: Connection refused

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。