No open ports detected

I have a problem in my node js api.

No open ports detected, continuing to scan…

May 14 10:57:24 PM==> Docs on specifying a port: Web Services | Render Docs

How can i solve this?

Hi there,

Please see our guide to port binding here: https://docs.render.com/web-services#port-binding. Make sure your service is binding the 0.0.0.0 and uses the PORT environment variable.

Regards,

Keith
Render Support, UTC+10 :australia:

I already did it, sometimes its work, sometimes not.

When its work , the deploy freeze on the step “open port detected”

Hi there,

I have followed up on the ticket you have opened directly with us.

Regards,

Keith
Render Support, UTC+10 :australia: