我正在使用 Nginix、uWSGI 在 Ubuntu 服务器上部署一个烧瓶应用程序。我按照本教程... http://www.soundrenalin.com/about
我是 Nignix 和 Sys Admin 的初学者。
但是当我运行我的应用程序时,它给出了错误:502 Bad Gateway
我查看了日志文件,它说:
Starting uWSGI 1.2.3-debian (32bit) on [Sun May 19 05:39:19 2013]
***compiled with version: 4.7.1 on 17 September 2012 17:20:40 detected number of CPU cores: 1 current working directory: /etc/uwsgi/apps-enabled detected binary path: /usr/bin/uwsgi-core your memory page size is 4096 bytes detected max file descriptor number: 1024
lock engine: pthread robust mutexesunlink(): Operation not permitted [socket.c line 75]
bind(): Address already in use [socket.c line 107] removed uwsgi instance flaskapp.ini
为什么会这样?请建议