解决Connecting to 127.0.0.1:8118... failed: Connection refused.
Posted xiaogongzi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决Connecting to 127.0.0.1:8118... failed: Connection refused.相关的知识,希望对你有一定的参考价值。
这里是代理问题的锅
$ env|grep -I proxy
http_proxy=http://127.0.0.1:8118
ftp_proxy=http://127.0.0.1:8118
https_proxy=http://127.0.0.1:8118
我们需要把/etc/profile中的代理注释掉在进行 以下操作
unset http_proxy
unset ftp_proxy
unset https_proxy
以上是关于解决Connecting to 127.0.0.1:8118... failed: Connection refused.的主要内容,如果未能解决你的问题,请参考以下文章
Error when connecting to the GNS3 server: Cannot connect to http://127.0.0.1:3080. Please check if G
nginx:connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream错误(示例代码
nginx和php-fpm配置 错误connect() failed (111: Connection refused) while connecting to upstream connect()
测试环境 nginx 时好时坏的no live upstreams while connecting
[转发]解决 git push Failed to connect to 127.0.0.1 port 45463: 拒绝连接
如何解决错误`java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8000`