Getting BindException: Permission denied
Issue
- I am trying to proxy a request using httpClient package. However I am seeing the following:
Exception:
java.net.BindException: Permission denied
java.net.PlainSocketImpl.socketBind(Native Method)
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
java.net.Socket.bind(Socket.java:631)
java.net.Socket.<init>(Socket.java:423)
java.net.Socket.<init>(Socket.java:280)
- The only opened port from external are 80 , 443 , 8080, 8000 8443 and are all occupied . Then the application cannot start using these ports (cannot bind port). Any solution to open an external access to this service with any port on Openshift?
Environment
- Openshift Online
- OpenShift Enterprise
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
