Ask coding questions

← Back to all posts
My Flask Website won't load
CodingEssence

Whenever I run my code, it shows this:

And when I open the website, it shows this:

How do I fix?

Answered by VulcanWM [earned 5 cycles]
View Answer
Voters
CodingEssence
Comments
hotnewtop
VulcanWM

Try app.run(port=8080, host=‘0.0.0.0’, debug=True)

CodingEssence

@VulcanWM
Thanks, it worked!

VulcanWM
CosmicBear

@CodingEssence On Replit you always need to define the host.

VulcanWM
VulcanWM

Can I see the code?

CodingEssence

@VulcanWM