Ports for Docker Services

Hi,

Render is unable to find an open port for my Docker deploy. If I’ve understood the docs correctly (Web Services | Render Docs), Render sets PORT=10000 by default, so if my application listens to PORT from env (it does), everything should work.

I’ve tried explicitly setting PORT=10000 in the web service settings, but no luck. Building and running the container locally with PORT set to a custom value in --env-file works fine, so this issue seems render-specific.

Any advice on where to start debugging this?

Thanks!

Hi there,

It sounds like troubleshooting might be easier if you can share the service ID you’re working on so I can take a look at the deploy logs.

If you don’t want to share that in a public forum, feel free to open a support ticket from the dashboard.

Regards,

Matt

Hi Matt, support ticket opened, thanks!

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