1 Reply Latest reply on Mar 30, 2007 5:24 AM by Ulf Hettstedt

    Ports / bind.address in JBOSS 3.2.3

    Ulf Hettstedt Newbie


      we are merging our application from IBM Websphere to JBOSS. Since I don't know either Websphere nor JBOSS it became my task. (Actually we just had a company merger and since I am responsible for installations at customer sites, I am now desperately trying to learn everything needed for installations for the (new) product in a very short time).

      Back to my task, since the application relies on a Versata Logic Server the JBOSS version to use should be 3.2.3 (maybe 3.2.6 is possible too, but nobody looked into that yet -- 4.05 is far too new,if you get my drift). With this version I am observing the use of a port, which I cannot identify and therefore I cannot configure. It is a random port, which will change everytime I start the "run.bat -b" - it is in the range between TCP/1500 and TCP/2400 (and maybe higher). For a configuration behind a firewall this range is a nightmare. Can anybody give me a hint, how to identify this port (I marked it bold in the netstat output below) and furthermore configure it?
      This port is essential, I tried to block it, which would prevent our client application to connect to the server. Another strange thing ist, that it doesn't bind to the specified address but to every interface on the server (IP-adress

      The goal will be to have more instances of JBOSS-Servers behind a firewall. If there is someone who can give me a hint, why I can't pass the -Djboss.bind.address-Parameter to the run.jar I would be most thankful, too. It doesn't work within the run.bat neither with the Javaservice in the run.bat I tried following lines:

      set JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.hostname=Host.domain.name
      set JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.useLocalHostname=false
      set JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address=


      Z:\>netstat -nao -p TCP
      Aktive Verbindungen
       Proto Lokale Adresse Remoteadresse Status PID
      TCP ABHÖREN 5012
       TCP ABHÖREN 1508
       TCP ABHÖREN 5348
       TCP ABHÖREN 2764
       TCP ABHÖREN 1008
       TCP ABHÖREN 188
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012
       TCP ABHÖREN 5012

      Best regards,

      * if you happen to find a strange expression: English is not my native tongue --- if you find a typo you are allowed to keep it :) *