Webserver not being created


I used a threading to make a webserver for python, it shows that it did create but replit doesn’t create a webserver sp I can host it. Please help me to make replit create a webserver.

Repl link:


Hi there @AvakinArsen1! Currently, your flask app is running on which is a loopback address, so your server is only accessible from itself rather than from a network. All you need to do is tell the flask server to serve on its public ip. You do this by changing the host parameter to in the server run function.

Change line 28 to:

app.run("", port=8080)

Omg idk how to say my thanks. Love replit :heart:.


Click on the :heart: and the :ballot_box_with_check: underneath their post

1 Like

I’ve marked it as one!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.