重启了下服务器,nginx反向代理访问kibana就报错:



nginx:connect() to 127.0.0.1:5601 failed (13: Permission denied) while connecting to upstream错误

查了下日志发现是这个错:

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


转载于:https://blog.51cto.com/wangpengtai/1913469

相关文章:

  • 2021-11-06
  • 2021-09-16
  • 2021-07-07
  • 2021-10-21
  • 2022-12-23
猜你喜欢
  • 2021-08-12
  • 2022-12-23
  • 2021-09-21
  • 2021-09-28
  • 2022-12-23
相关资源
相似解决方案