Facing issues while deploying telegram bot

error: The deployment failed to initialize due to a configuration or code error. Check the logs tab for more information. For additional support, please post on https://ask.replit.com/c/help/13 and a staff member will take a look.

hostingpid1: an open port was not detected

starting up user application

above is logs

Welcome to the forums, @pbadal392!
Which deployment type are you deploying your bot on?


How to find deployment type?

Did you deploy it on an Autoscale or Reserved VM deployment?

1 Like

Autoscale i have used that

Autoscale my deployment type

For your Telegram bot, you need to deploy it on a Reserved VM Background Worker. The lowest tier Reserved VM is only $6.40. If you have Replit Core, that should be included in your $8.00 credits.