Ask coding questions

← Back to all posts
how to open flask server online over repl in browser
AniketParulekar (7)

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 ?

Commentshotnewtop
21natzil (877)

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

AniketParulekar (7)

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

justkaran (1)

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

timmy_i_chen (1001)

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.

AniketParulekar (7)

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