首页 > 其他 > 详细

[转发]解决 git push Failed to connect to 127.0.0.1 port 45463: 拒绝连接

时间:2017-12-19 11:48:29      阅读:426      评论:0      收藏:0      [点我收藏+]

使用Github pull 代码突然报错:

Failed to connect to 127.0.0.1 port 43421: Connection refused

 

使用 lsof 发现端口未被占用:lsof -i:45463

 

查看代理:env|grep -i proxy

NO_PROXY=localhost,127.0.0.0/8,::1

http_proxy=http://127.0.0.1:45463/

HTTPS_PROXY=http://127.0.0.1:45463/

https_proxy=http://127.0.0.1:45463/

no_proxy=localhost,127.0.0.0/8,::1

HTTP_PROXY=http://127.0.0.1:45463/

 

原因:使用代理导致访问失败

 

解决方法:(取消代理使用)
   export http_proxy=""

 export https_proxy=""
 export HTTP_PROXY=""
 export HTTPS_PROXY=""



原文:http://www.cnblogs.com/LoTGu/p/7782661.html

[转发]解决 git push Failed to connect to 127.0.0.1 port 45463: 拒绝连接

原文:http://www.cnblogs.com/wangbb13/p/8064351.html

(0)
(0)
   
举报
评论 一句话评论(0
分享档案
最新文章
教程昨日排行
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!