1 Reply Latest reply on Oct 4, 2005 4:07 PM by Andy Nguyen

    1 Jboss listening on 2 ports

    Dwain Crackel Newbie

      I have a situation where we use wirless devices to connect to our server. Some are connecting on one port ex:1234 and other on different port:34567

      I have 2 instances of jboss running to accommodate this. I was wondering if you could make 1 instance of jboss listen on two ports.

      And if so, what I might need to configure to make that happen.

      Thank you

        • 1. Re: 1 Jboss listening on 2 ports
          Andy Nguyen Newbie

          Are these devices connecting via HTTP? If so, then add another connector to deploy/jbossweb-tomcat55.sar/server.xml:

           <Connector port="34567" address="${jboss.bind.address}"
           maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
           enableLookups="false" acceptCount="100"
           connectionTimeout="20000" disableUploadTimeout="true"/>