Question:
I’m getting an error: hostingpid1: an open port was not detected when trying to deploy my repl.
Repl link/Link to where the bug appears:
Screenshots, links, or other helpful context:
code snippet
Question:
I’m getting an error: hostingpid1: an open port was not detected when trying to deploy my repl.
Repl link/Link to where the bug appears:
Screenshots, links, or other helpful context:
code snippet
Im seeing exactly the same issue.
Code runs manually as it should but will not let me deploy, it gets stuck and errors at the last stage, with the “promote”. I am trying to deploy a Python script for some API work.
I don’t remember exactly which one but I’m pretty sure there is a specific port to run on, at 0.0.0.0, that could be the problem.
@FarkhodNarbayev @JacobTober Can you provide links to the Repls that are not deploying?
Once you have gone through the troubleshooting guide here, feel free to sign up for a debugging session on my calendar.
same for me, it says “hostingpid1: an open port was not detected” on the last loading thing
Feel free to sign up my calendly linked above for debugging as well, it is open to the public.
The error means that your application did not listen on a port. If your deployment is not a website but rather a bot or something else that runs in the background, you will need to deploy it as a Background Worker within a Reserved VM deployment. Those options are available via the Deployments pane in the UI.