Hi, I've got a Jboss 4 AS running in a DMZ with a private ip, the firewall forwards ports to it (using DNAT) from its public ip address. The problem being that the client (RMI) keeps tring to connect to the servers private address (No Route to Host). It is making initial connection, but the servers studs keep tring to send it to a 192 address? Is there a rmi system property i've missed?
Specify the java.rmi.server.hostname system property to set the address used for the rmi stubs. See the 'Useful java.rmi Properties' in the jdk javadocs rmi section for the details and other properties.