====== 2019.11.21 Nginx エラー ====== failed (13: Permission denied) while connecting to upstream 2019/11/21 09:42:14 [crit] 23205#0: *16 connect() to 127.0.0.1:9869 failed (13: Permission denied) while connecting to upstream, client: 157.7.180.126, server: one.kumolabo.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:9869/", host: "hoge.hogehoge.com" ===== 原因 ===== SELinuxが有効になってた。 # getenforce Enforcing ===== 対応 ===== SELinuxを無効にしたら表示できた。 # setenforce 0 # sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config {{tag>日記 nginx}}