Help with deployment

I’m trying to deploy my web app to the autoscale plan and keep getting an error back that an “open port was not detected”. Can you help me deploy this?

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

Welcome to Ask @levibretz98!

It appears that you are deploying your repl as Autoscale, and that you do not have a web server set up. Instead, deploy your repl as a Reserved VM > Background worker.

Do be aware, that might fail currently.


Forgive my ignorance.

How do I set it up to run on a schedule?

You’d have to deploy as a reserved VM, and implement some kind of timer/scheduler into your code itself.

Got it. And not as a background worker?

It should be deployed as a background worker, assuming it’s not a website.

1 Like

3 posts were split to a new topic: Deployment stuck in a loop