Gunicorn 无法 运行 服务器
Gunicorn not able to run server
我正在 运行 命令 gunicorn --bind 0.0.0.0:8000 app.wsgi
。但是服务器未 运行ning 并且也不接受来自浏览器的任何请求。它至少应该显示 using TensorFlow backend
正如我在 运行 命令时显示的那样。
python manage.py runserver 0.0.0.0:8000
Gunicorn 仅显示此内容。
[2019-05-13 08:59:53 +0000] [9693] [INFO] Starting gunicorn 19.9.0
[2019-05-13 08:59:53 +0000] [9693] [INFO] Listening at: http://0.0.0.0:8000 (9693)
[2019-05-13 08:59:53 +0000] [9693] [INFO] Using worker: sync
[2019-05-13 08:59:53 +0000] [9696] [INFO] Booting worker with pid: 9696
在运行宁python manage.py runserver 0.0.0.0:8000
Performing system checks...
Using TensorFlow backend.
System check identified no issues (0 silenced).
请参阅 https://codeinthehole.com/tips/console-logging-to-stdout-in-django/ 了解如何在您的设置文件中配置 Django 日志记录。
我正在 运行 命令 gunicorn --bind 0.0.0.0:8000 app.wsgi
。但是服务器未 运行ning 并且也不接受来自浏览器的任何请求。它至少应该显示 using TensorFlow backend
正如我在 运行 命令时显示的那样。
python manage.py runserver 0.0.0.0:8000
Gunicorn 仅显示此内容。
[2019-05-13 08:59:53 +0000] [9693] [INFO] Starting gunicorn 19.9.0
[2019-05-13 08:59:53 +0000] [9693] [INFO] Listening at: http://0.0.0.0:8000 (9693)
[2019-05-13 08:59:53 +0000] [9693] [INFO] Using worker: sync
[2019-05-13 08:59:53 +0000] [9696] [INFO] Booting worker with pid: 9696
在运行宁python manage.py runserver 0.0.0.0:8000
Performing system checks...
Using TensorFlow backend.
System check identified no issues (0 silenced).
请参阅 https://codeinthehole.com/tips/console-logging-to-stdout-in-django/ 了解如何在您的设置文件中配置 Django 日志记录。