Issues with testing gunicorn
Created by: homebrewhops
IIf I do sudo supervisorctl stop myauth: then activate the venv and run gunicorn --bind 0.0.0.0:8000 myauth.wsgi
Everything works (except static content) and I can get to the app through nginx from the outside. Once I CTRL+C the gunicorn test and restart myauth: in supervisor, the gunicorn log says it's listening on 8000 but it appears to be lies and/or cannot be seen by the OS (outside of venv).
[2018-01-22 11:05:49 -0500] [14697] [INFO] Starting gunicorn 19.7.1
[2018-01-22 11:05:49 -0500] [14697] [INFO] Listening at: http://127.0.0.1:8000 (14697)
[2018-01-22 11:05:49 -0500] [14697] [INFO] Using worker: sync
[2018-01-22 11:05:49 -0500] [14706] [INFO] Booting worker with pid: 14706
[2018-01-22 11:05:49 -0500] [14707] [INFO] Booting worker with pid: 14707
[2018-01-22 11:05:49 -0500] [14708] [INFO] Booting worker with pid: 14708
curl returns nothing http://127.0.0.1:8000
What am I missing?