I can't bind to a port


When I try to bind to a port or to the internal IP ($OPENSHIFT_{CARTTYPE}_IP), I get either "Permission Denied" or "Address already in use". Why is that?


Please note: We don't allow arbitrary binding of ports on the externally accessible IP address.

It is possible to bind to the internal IP with port range: 15000 - 35530. All other ports are reserved for specific processes to avoid conflicts. Since we're binding to the internal IP, you will need to use port forwarding to access it: https://openshift.redhat.com/community/blogs/getting-started-with-port-forwarding-on-openshift