0 Replies Latest reply on Feb 10, 2017 3:52 PM by Sam W

    how to start jboss listening on port 443 and port 80 simutanously

    Sam W Expert

      Dear Sir/Madam,

       

      I have googling few nights but still not able to resolve this issue.

       

      I have configured standalone-full.xml with the following configuration:

       

      <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

              <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

              <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

              <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

              <socket-binding name="ajp" port="8009"/>

              <socket-binding name="http" port="80"/>

              <socket-binding name="https" port="443"/>

              <socket-binding name="jacorb" interface="unsecure" port="3528"/>

              <socket-binding name="jacorb-ssl" interface="unsecure" port="3529"/>

              <socket-binding name="messaging" port="5445"/>

              <socket-binding name="messaging-throughput" port="5455"/>

              <socket-binding name="osgi-http" interface="management" port="8090"/>

              <socket-binding name="remoting" port="4447"/>

              <socket-binding name="txn-recovery-environment" port="4712"/>

              <socket-binding name="txn-status-manager" port="4713"/>

              <socket-binding name="messaging-group" port="0" multicast-address="${jboss.messaging.group.address:231.7.7.7}" multicast-port="${jboss.messaging.group.port:9876}"/>

              <outbound-socket-binding name="mail-smtp">

                  <remote-destination host="localhost" port="25"/>

              </outbound-socket-binding>

              <outbound-socket-binding name="remote-ejb">

                  <remote-destination host="192.168.2.21" port="14447"/>

              </outbound-socket-binding>

          </socket-binding-group>

       

      However when I start up jboss with the following 2 commandlines, it only listen on port 80:

      "$JBOSS_HOME"/bin/standalone.sh -server-config standalone-full.xml

      and

      this:

      "$JBOSS_HOME"/bin/standalone.sh -server-config standalone-full.xml  -b 192.168.2.22 > /dev/null

       

      with the above two commands, I tested teh connection on port 443 with telnet localhost 443, it shown connection is failed.

      And all other port numbers specified in that binding-group section are not opened. There is only port 80 is opened.

       

      Could anyone please show me how to make jboss listening on the other ports specified in the socket-bidign-group?

       

      Any help is much appreciated.

      Thanks

      Sam