0 Replies Latest reply on Sep 8, 2010 11:09 AM by Christian Heldwein

    Communication to a JBoss via ssh tunnel

    Christian Heldwein Newbie



      if you want to connect to a JBoss behind a firewall, and you can only connect via ssh to the JBoss server, you should forward the following ports. They are at least sufficient for Naming, Remote EJB calls and web:


      • 1098
      • 1099
      • 1100
      • 1101
      • 1102
      • 3528
      • 3873
      • 4444
      • 4445
      • 4446
      • 4447
      • 8080


      You also need to add these system properties in your JBoss start script:

      -Djava.rmi.server.hostname=localhost -Djava.rmi.server.useLocalHostname=false


      This works at least for a JBoss 4.2.2. If you need other ports for other services, feel free to add them here in this thread.

      I've opened this thread, because I've searched a whole day for the required ports, that need to be tunneled through ssh and maybe this information is also useful for someone else :-)