less than 1 minute read

Nginx upstream 8080 접속오류

2014/05/30 11:59:42 [crit] 4075 # 0 : * 6 connect () to 127.0.0.1:8001 failed (13 : Permission denied) while connect to upstream, client : 127.0.0.1, server : localhost, 요청 : "GET / HTTP / 1.1", 업스트림 : "http://127.0.0.1:8001/", 호스트 : "localhost : 8080"
  • 참고

    https://stackoverflow.com/questions/23948527/13-permission-denied-while-connecting-to-upstreamnginx

  • 해결

    setsebool httpd_can_network_connect on

setsebool httpd_can_network_connect on -P

getsebool -a grep httpd

Categories:

Updated: