"Port ____ is already in use" error in Flask

While trying to run a Flask project, it gives me a error and won’t run my code. The error is as follows.

Address already in use
Port 8100 is in use by another program. Either identify and stop that program, or start the server with a different port.

I have reloaded the page and ran it numerous times.

Try changing the port to 8080.

1 Like

Working for now. Then again, if I changed the port previously, it works for a little bit before throwing the error again.

Odd. Ports are per repl, if I’m not wrong. It should work, but 8080 is the default port, so maybe it’ll hold.

1 Like

I’ll report back if it happens again.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.