R
Railway15mo ago
! SAM

Flask app wont work with port 0.0.0.0

application not responding
Solution:
you don't want to be using flasks in-built developer server, please reference this template https://github.com/alphasecio/flask/tree/main you need to use gunicorn to run your flask app...
Jump to solution
3 Replies
Percy
Percy15mo ago
Project ID: 176ba294-2575-4688-9d63-fae15b879106
!                            SAM
! SAM15mo ago
app.run(host="0.0.0.0")

app.run(host="0.0.0.0", port='5000')
app.run(host="0.0.0.0")

app.run(host="0.0.0.0", port='5000')
tried these all doesnt work ah shit it worked sorry
Solution
Brody
Brody15mo ago
you don't want to be using flasks in-built developer server, please reference this template https://github.com/alphasecio/flask/tree/main you need to use gunicorn to run your flask app
Want results from more Discord servers?
Add your server