Unable to bind to a port on Openshift

后端 未结 1 1519
深忆病人
深忆病人 2021-01-05 20:25

I am running an embedded activemq message server in my application on openshift. According to this, you can only bind on 15000 - 35530. I\'ve tried doing the fo

相关标签:
1条回答
  • 2021-01-05 20:52

    In Openshift, you may only bind to the port that the server allocates for you. Typically that is the value of the environment variable $OPENSHIFT_JBOSS_PORT (it varies between cartridges) and the value differs between gears. Binding to any other port will be reported as an SELinux policy violation and denied.

    0 讨论(0)
提交回复
热议问题