1 Reply Latest reply on Jul 10, 2009 5:20 PM by ron_sigal

    RMI and port forwarding problem

    aleksjej

      Hi,
      I use JBoss 5.0.0 as a JEE server and swing application as a client and everything works fine when its on the same machine. When I try to use application outside I got an error:

      javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused
      to host: 1.1.1.100; nested exception is: java.net.ConnectException: Connection timed out: connect]
      


      The root problem is that it tries to use internal ip 1.1.1.100 (used as $JBOSS_HOST) instead of external ftims.info as specified in JNDI configuration. The question is how to make RMI service run on different IP than $JBOSS_HOST?