centos7/nginx/tornado错误异常收集

问题1:“connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream” SELinux安全子系统造成,办法如下:
1 临时方法 – 设置系统参数
使用命令setenforce 0
附:
setenforce 1 设置SELinux 成为enforcing模式
setenforce 0 设置SELinux 成为permissive模式

2 永久方法 – 需要重启
vi /etc/selinux/config
设置SELINUX=disabled ,重启服务器。

猜你喜欢

转载自shiguanghui.iteye.com/blog/2198545