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

    RMI and port forwarding problem

    Aleksander Lech Newbie

      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:; nested exception is: java.net.ConnectException: Connection timed out: connect]

      The root problem is that it tries to use internal ip (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?