端口5000已使用的地址,部署在Heroku上的烧瓶API

发布于 2025-02-10 16:57:48 字数 231 浏览 2 评论 0原文

我已经在Heroku上部署了一个烧瓶应用程序,但我无法打开它。在日志中,这是错误:

2022-06-25T18:36:16.177143+00:00 APP [Web.1]:地址已经在使用 2022-06-25T18:36:16.177143+00:00 APP [Web.1]:另一个程序正在使用端口5000。识别并停止该程序,或使用其他端口启动服务器。 2022-06

I HAVER会严重改变端口,但同样的错误

I have deployed a Flask app on Heroku and I cannot open it. In the logs, here is the error:

2022-06-25T18:36:16.177143+00:00 app[web.1]: Address already in use
2022-06-25T18:36:16.177143+00:00 app[web.1]: Port 5000 is in use by another program. Either identify and stop that program, or start the server with a different port.
2022-06

I haver changed the port severally, but same error

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

动听の歌 2025-02-17 16:57:48

解决了

我删除

app.run(port="8000")

并部署了

Solved

I removed

app.run(port="8000")

and I deployed it

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文