Server Adress can not be found

Hey,
I have to do a project for university.
I have to link a Telegram chatbot with ChatGPT. I’ve done that so far. Now I wanted to use Flask to ensure that the chatbot runs 24/7. However, my IP address cannot be found. Does anyone have the same problem and how can I fix it? Many thanks in advance.

Besides the error, this no longer works on Replit unless you deploy the Repl.

Okay, thanks.
Is there an alternative then?

No, you need to deploy your repl to make it turned on.
I suggest Autoscale Deployments, which allow your repl to turn on when there is an incoming request and off when it’s not to save resources.