OSError: [Errno98] Address already in use appears and cannot proceed.

Asked 2 years ago, Updated 2 years ago, 121 views

Until Heroku beginners deploy simple applications using Flask!-Qiita

Using the above page as a reference, I am trying to deploy a simple application made with flash on heroku.
However, after $heroku open, an application error occurred and it is stuck.

The following error was observed on the console:

$heroku logs --tail
OSError: [Errno98] Address already in use

Tried
·Restart PC
·Change the port number of app.run(port=5000)
·I didn't understand around the kill command.

We will check and add any necessary information or additional information.
I would like to release this app by March 20th, so please lend me your wisdom.

heroku flask

2022-09-30 21:39

1 Answers

It appears that another flash program on Heroku's server is starting (port 5000 is in use), so stopping that program should resolve the problem.
The program runs on Heroku's server, so I can't restart my computer.

Qiita's Stop/Resume Heroku Applications article explains how to stop programs running Heroku.


2022-09-30 21:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.