Flask app crashes "Restarting with reloader....socket.error: [Errno 98] Address already in use Flask app crashes "Restarting with reloader....socket.error: [Errno 98] Address already in use flask flask

Flask app crashes "Restarting with reloader....socket.error: [Errno 98] Address already in use


If the address is already in use change the default port

if __name__ == '__main__':    app.run(host='0.0.0.0', debug=True, port=12345, use_reloader=True)

you can now access the page through http://localhost:12345


'Address already in use' means you've got another server running on that computer that's bound to the same port. Turn it off, and you should be good to go.