0 Replies Latest reply on Aug 6, 2003 4:36 PM by pico303

    JNDI and NAT

    pico303

      I'm trying to deploy JBoss 3.2.1 behind a firewall. To the outside world (including computers in the office), it looks like 207.x.x.x, but the machine itself thinks of itself as a 10.x.x.x machine.

      My problem is that whenever I try to connect JNDI initially, JBoss returns the 10.x.x.x address to the client, which then proceeds to hang and eventually fail--it can't reach the 10.x.x.x address.

      How do I get JBoss to return the 207.x.x.x address for JNDI lookups? I've tried the java.rmi.server.hostname value, but JBoss throws a BindException on that because the machine doesn't know about the 207.x.x.x address.