(13: Permission denied) while connecting to upstream:[nginx]

2024-09-23 | code | django, python-2.7, nginx, gunicorn

问题描述

I am working with configuring Django project with Nginx and Gunicorn.While I am accessing my port gunicorn mysite.wsgi:application --bind=127.0.0.1:8001 in Nginx server, I am getting the following error in my error log file;2014/05/30 11:59:42 [crit] 4075#0: *6 connect() to 127.0.0.1:8001 failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8001/", host: "localhost:8080"Below is the content of my nginx.conf file;In the HTML page I am getting 502 Bad Gateway.What mistake am I doing?

提示词

None
Loading...