Skip to content
← Back to Community
Flask not running (Browser window not open)
Profile icon
beli3ver

Hi,
I tried to create a webapp in python and flask:
https://repl.it/@beli3ver/malte-kiefer
But when I run it, I see the windows that it starts but no browser window opens. Is there a way to shot the browser window.

Voters
Profile icon
Haneef112
Profile icon
beli3ver
Comments
hotnewtop
Profile icon
beli3ver

fix it.
changed the last line:

main.run(debug=True, port='3000', host='0.0.0.0')
Profile icon
NextTV

This did not work for me, same problem

Profile icon
heewoonkim2020

@NextTV You can try my solution: You must do host='0.0.0.0' to make Replit be able to access the site. You can pass host as a keyword argument in app.run().

Profile icon
heewoonkim2020

You must do host='0.0.0.0' to make Replit be able to access the site. You can pass host as a keyword argument in app.run().