Error when building Flask application
My Flask application is not building when deploying, but in my development environment everything is going perfect:
Error when building Flask application
My Flask application is not building when deploying, but in my development environment everything is going perfect:
Reading the documentation I read that it could be due to the port but even trying with or on the port is giving an error. If it were a library problem, my development version would report an error
Hi @LucasAdriSilva , welcome back!
On the last line, try changing it to:
io.run(app, host='0.0.0.0', port=8080)
Hope this helps!
@NateDhaliwal thanks so much for the help! But the real reason for the error was when running my application I replaced the python app.py command with the gunicorn command and that’s how it worked. Thanks for the message
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.