我试图在Openshift中使用JBoss EAP连接到套接字。我得到了一个错误:
ERROR (ServerService Thread Pool -- 70) Ping to [address.of.destination:10443] failed: Permission denied: java.net.SocketException: Permission denied
at sun.nio.ch.Net.connect0(Native Method) [rt.jar:1.7.0_51]
at sun.nio.ch.Net.connect(Net.java:465) [rt.jar:1.7.0_51]
at sun.nio.ch.Net.connect(Net.java:457) [rt.jar:1.7.0_51]
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670) [rt.jar:1.7.0_51]我认为原因是Openshift阻止了对端口的访问。
而且我在这些条件下:
这种情况有解决办法吗?
发布于 2014-05-03 10:08:08
可以绑定到端口范围为15000到35530 https://www.openshift.com/kb/kb-e1038-i-cant-bind-to-a-port的内部IP。还读了http://blog-judcon.rhcloud.com/?p=97
https://stackoverflow.com/questions/23268133
复制相似问题