Deployment failed but build is successful

I am having issues deploying my express app in render. It doesn’t return any error on the log, it shows build successful and it’s running on port 1000 but deployment fails. I have checked my environment variables and commands, everything seems fine, is there something else I am not doing correctly?

Please, Can anyone be of help ?

Hi there,

Could you ensure your service is bound to 0.0.0.0 as described in https://render.com/docs/web-services#host-and-port-configuration.

Explicitly setting a PORT environment variable can sometimes help as well.

Give that a shot and let me know how it goes.

Regards,

Matt

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