0 Replies Latest reply on Feb 26, 2004 5:53 AM by Marek Neumann

    Port Configuration for RMI - firewall problems

    Marek Neumann Novice

      JBoss 3.2.3: I am doing RMI communication from a remote client with a deployed MBean in JBoss. We have problems using this through a firewall. My impression was that JBoss only uses fixed ports for RMI comm (1098 default). However when starting JBoss I see listeners on ports 38xxx:

      tcp 0 0 0.0.0.0:1098 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:1099 0.0.0.0:* LISTEN
      tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN
      --> tcp 0 0 0.0.0.0:38070 0.0.0.0:* LISTEN <--
      tcp 0 0 127.0.0.1:38072 0.0.0.0:* LISTEN

      And, these ports are used for comunication:

      tcp 0 0 172.17.1.103:38070 172.17.1.254:43720 CONNECTED.

      If I block these ports on the firewall, communication fails. Is there a way to avoid these unprivileged ports being used????

      Thanks,

      -marek