1 Reply Latest reply on Aug 27, 2014 5:07 PM by wdfink

    Port Offset

    rafaelroque

      Hi all,

       

      I have an Apache HTTP Server with mod-jk listening on port 81 and I configured my host.xml as follows:

      <servers>

                  

              <server name="server-one" group="main-server-group" auto-start="true">

                  <socket-bindings socket-binding-group="ha-sockets" port-offset="0"/>

              </server>

        

             <server name="server-two" group="main-server-group" auto-start="true">

                  <socket-bindings socket-binding-group="ha-sockets" port-offset="1"/>

              </server>

       

      My problem is,the url localhost:81/myApp only works if "server-one" is started. If I shut it down "server-two" is not being used to serve requests.

       

      How can I configure the port offset correctly?

        • 1. Re: Port Offset
          wdfink

          I suppose if you use an offset of 1 the JBoss did not start correct as there might be other ports which run into conflict with the offset 1.

          Try to use 50 or 100, or define the port's in a different socket binding