Bind: Permission Denied

I’m deploying this GitHub project:

Build Command:

cd cmd/webcal-proxy && go build -o app

Start Command:


The above works locally, but I’m seeing the following error on Render:

==> Starting service with './cmd/webcal-proxy/app'
time="2022-07-09T23:31:55Z" level=error msg="listen tcp bind: permission denied"

I can specify different sockets using -addr, but I get the same error for those too.

What am I doing wrong?

Hi there,

Thanks for reaching out.

The standard HTTP/S ports on a service will be reserved, i.e. 80/443. You could read the PORT env var to use the default port (10000) for Render Web Services or set your own, which it appears you have, as I’m seeing the last deploy as successful.

Please let us know if we can assist any further.


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