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]
Your problem isn't a Remoting problem. I'm going to suggest that you post the question to the "JNDI/Naming/Network" forum at http://www.jboss.org/index.html?module=bb&op=viewforum&f=214.