nginx:connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream错误(示例代码
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了nginx:connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream错误(示例代码相关的知识,希望对你有一定的参考价值。
重启了下服务器,nginx反向代理访问kibana就报错:
查了下日志发现是这个错:
connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1
和权限有关的,就是selinux呗。
[[email protected] ~]# getenforce
Enforcing
看了下果真如此!坑爹啊!我忘记关了。关掉后就没事了。
setenforce 0 sed -i ‘s/enforcing$/disabled/g‘ /etc/selinux/config
本文出自 “LINUX” 博客,请务必保留此出处http://wangpengtai.blog.51cto.com/3882831/1913469
以上是关于nginx:connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream错误(示例代码的主要内容,如果未能解决你的问题,请参考以下文章
502 错误 django + nginx + gunicorn - connect() recv()
unable to connect to 127.0.0.1:62001: cannot connect to 127.0.0.1:62001: 由于目标计算机积极拒绝,无法连接。 (10061)
Android 异常: failed to connect to localhost/127.0.0.1
[转发]解决 git push Failed to connect to 127.0.0.1 port 45463: 拒绝连接
Mongoose 无法连接到 localhost:MongoError: failed to connect to server [127.0.0.1:27017]
如何解决错误`java.net.ConnectException: Failed to connect to localhost/127.0.0.1:8000`