7 Replies Latest reply on Aug 11, 2003 7:07 AM by mikesu

    jboss behind a firewall

    taiwuco Newbie

      I tried to move jboss 3.1 to be behind a CheckPoint firewall. I use 192.168.0.4 for the server and NAT to transfer IP. I opened ports 1099, 12999, and 4444. However, when I did JNDI lookup, I got the following error messages:

      Got initial context: javax.naming.InitialContext@1a897a9
      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.4; nested exception is:
      java.net.ConnectException: Connection timed out]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.javException in getJAASHome: null
      a:486)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:352)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)


      I can do ssh to the server behind the firewall. I also have SQL port open to the server only. No other port do I use.

      Do I need to use RMIProxy/JndiProxy? Or, what should I modify jboss configuration?

      Best Regards,

      Brian