3 Replies Latest reply on Mar 16, 2006 2:48 AM by solomonk

    RMI Invocation Behind Firewall on JBoss 4.0.3

    tanwilliam83

      Hi everyone,

      I'm currently running a JBoss 4.0.3 server behind a firewall. The firewall is configured to allow all the ports used by JBoss 4.0.3 according to this article as below:

      http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html#d0e21126

      I'm also using all the default ports such as 8080 for Web, 1099 for JNP service and more.

      For lookup, I use the following as PROVIDER_URL:

      jnp://xxx.xxx.xxx.xxx:1099

      The IP (xxx.xxx.xxx.xxx) is not the issue in this case as I am sure that the client is able to connect to the JBoss Server at this IP.

      The problem is whenever I invoke RMI, i can see the client is communicating with the JBoss Server at an anonymous port such as 30599 or any ports. There are others connection on port 1098, 4444 and 8093 as well but these connections do not face any problem as they are allowed by the firewall. However, the connection on anonymous port would be a BIG PROBLEM because I'm not be able to configure my firewall to allow this traffic on this anonymous port since the anonymous port keeps on changing whenever the JBoss Server is restarted.

      Anyone has any idea about this? I've spent weeks on this but I don't really see a solution yet.

      Thanks in advance.

      Best regards,
      William