Skip to content
← Back to Community
how to open flask server online over repl in browser
Profile icon
AniketParulekar

I have started flask app and up the server but how can I access 127.0.0.1 and port over web login ? is there any public Ip alloted ?

Voters
Profile icon
jchery
Profile icon
EthanHorsfall
Profile icon
anasAdeel
Profile icon
BENJAMINYANN
Profile icon
ShivamSuri
Profile icon
ironweb
Profile icon
21natzil
Profile icon
AniketParulekar
Comments
hotnewtop
Profile icon
justkaran

Just for heads up: You need to set the host to ´´´host='0.0.0.0'```. Then repl.it will show a web view.

Profile icon
21natzil

There should be a box that appears when you run the flask app, allowing you to visit the website. Can we see your repl?

Profile icon
AniketParulekar

@21natzil thanks i'll try and shall get back to you in case i need further help

Profile icon
AniketParulekar

@AniketParulekar working now thanks all

Profile icon
CSharpIsGud

blank?

Profile icon
AniketParulekar

@CSharpIsGud working now thanks all

Profile icon
timmy_i_chen

Set the IP to 0.0.0.0 and you should see a webview open up with a URL - if it still doesn't work, share the repl URL here and we can help further.

Profile icon
AniketParulekar

@timmy_i_chen thanks i'll try and shall get back to you in case i need further help

Profile icon
AniketParulekar

@timmy_i_chen It's working thanks

Profile icon
ZakyZaky

Bro How i Can Open This Link in Any Device (its only launch in replit)@timmy_i_chen