[jboss-user] [Remoting] - RMI and port forwarding problem

aleksjej do-not-reply at jboss.com
Mon May 4 08:24:59 EDT 2009


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?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228298#4228298

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228298



More information about the jboss-user mailing list