Tag: gunicorn

无法在heroku上启动gunicorn(Django Node应用程序)错误:正在使用的连接:('0.0.0.0',46831)

我正尝试在heroku上托pipe一个Django Node应用程序。 我的procfile看起来像这样 web: gunicorn backend courier.wsgi:application –bind 0.0.0.0:$PORT & node frontend/server.js 我的server.js运行index.html。 而我正在显示index.html页面。 但Djangourl不起作用。 而我的英雄日志显示这一点。 2016-02-28T17:25:40.032724+00:00 app[web.1]: [2016-02-28 17:25:40 +0000] [7] [INFO] Starting gunicorn 19.3.0 2016-02-28T17:25:40.258117+00:00 heroku[web.1]: State changed from starting to up 2016-02-28T17:25:41.042335+00:00 app[web.1]: [2016-02-28 17:25:41 +0000] [7] [ERROR] Connection in use: ('0.0.0.0', 46831) 2016-02-28T17:25:41.042419+00:00 app[web.1]: [2016-02-28 17:25:41 +0000] [7] [ERROR] Retrying in […]