使用Gunicorn运行应用程序错误

user3149525:

我已经成功安装了gunicorn

每次我运行此命令:

$ gunicorn hello.wsgi:application --bind example.com:8001

我收到此错误:

[INFO] Starting gunicorn 18.0
[ERROR] Invalid address: ('example.com', 8001)

我正在关注本教程:

http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/

错误:

example.com只是一个示例域。0.0.0.0:8001改为使用绑定地址。

gunicorn hello.wsgi:application --bind 0.0.0.0:8001

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

使用gunicorn运行应用程序时打开csv文件时出现python3错误

如何使用Gunicorn运行Flask应用程序?

无法使用Gunicorn运行龙卷风应用程序

使用Nginx和Gunicorn运行Flask应用程序

使用 gunicorn 异步运行长轮询烧瓶应用程序

如果使用应用程序工厂模式,如何在gunicorn中运行flask应用程序?

为什么我使用Gunicorn运行Flask应用程序,似乎“没有名为应用程序的模块”

错误:gunicorn:无法在“应用程序”中找到应用程序对象“应用程序”

使用Gunicorn运行应用程序时未注册SQLAlchemy扩展

使用 Web 套接字和 Gunicorn 运行 Flask 应用程序时出错

Gunicorn:无法在“运行”中找到应用程序对象“ App”

如何运行与gunicorn绑定的django应用程序?

运行应用程序时使用multer导致错误

使用 `gunicorn -c ` 命令启动烧瓶应用程序时发生导入错误

heroku gunicorn / Flask应用程序错误“工作进程异常”

Gunicorn“应用程序对象必须可调用”错误

运行应用程序编辑配置错误

Jhipster应用程序错误首次运行

错误首先运行jhipster应用程序

Titanium移动应用程序运行错误

运行Android应用程序Java错误

应用程序可以在本地运行,但不能在 Heroku 上运行(应用程序错误);使用 Nodemon 和 Webpack

如何使用gunicorn部署Django + Whitenoise应用程序?

在Flask应用程序中使用Gunicorn和多进程

在云 VM 中使用 gunicorn 部署应用程序时出现“Errno 5-输入/输出错误”

使用 firebase 的应用程序/无应用程序错误

使用路径从终端运行应用程序

Gunicorn无法加载Flask应用程序

在 Gunicorn 上运行的 Flask-SocketIO 应用程序抛出 TypeError