django - Why does Gunicorn use port 8000/8001 instead of 80? -


<>

I used a development environment for Django Framework using Gangororn (as a Django service) and using NGINX (as a reverse proxy) I'm busy setting up

When I look at several tutorials and I think they are port 8000 and port 8001 ( http://127.0.0.1:8000 and http: / /127.0.0.1:8001 ).

Port 8000 is often used for radio streaming and malware, so why?

BTW: I'm running it on the Ubuntu 12.04 system using Virtualenv.

On the NGINX port 80 and on the other side of the Gunoricorn listen to 127.0.0.1 instead of Gunicorn 0.0.0.0 Is running on, so it is not publicly listening, and therefore the only way to use the site externally is via port 80.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -