[jboss-user] [JNDI/Naming/Network] - RMI-Client gets wrong (internal) IP
oerks
do-not-reply at jboss.com
Thu Apr 10 12:17:41 EDT 2008
Hi,
we are trying to connect a JMS Client with jboss4.2.2 via a router.
But the client tries to connect to the internal IP, not the global.
We tried the JVM-args -Djava.rmi.server.hostname=GLOBALEIP
and -Djava.rmi.server.useLocalHostname=false or true (?) ... with no luck :-(
javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 10.128.0.48; nested exception is:
| java.net.ConnectException: Connection timed out]
| ...
|
The 10.128.0.48 is the internal-IP, not the global one, the client can see.
any hints appreciated
--dirk
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143243#4143243
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143243
More information about the jboss-user
mailing list