Flask app crashes with R10 error on Heroku Flask flyf35 — 29 March 2023 · Comments off Solution port_nr = int(os.environ.get("PORT", 5001)) app.run(port=port_nr, host='0.0.0.0')