Does RMI Connector works over NAT
"Chandresh Patel (chapatel)" <[email protected]>
| Newsgroups | gmane.comp.java.mx4j.user |
|---|---|
| Message-ID | <86CFDA59383F3B48BEBC660B4C2064E90177C3CD@xmb-sjc-21e.amer.cisco.com> |
Hi, In my application deployment scenario, device running MX4J MBeanServer with RMIConnector is behind the NAT(Network Address Translator). Hence the device ip address is for example 10.1.1.1 and its RMI URL using which RMIConnector registers is: service:jmx:rmi://10.1.1.1/jndi/rmi://10.1.1.1:1099/jmxconnector IP address of this device to access it from outside world is for example 172.27.1.10 and hence Client side RMIConnector has to use following RMI URL: service:jmx:rmi://172.27.1.10/jndi/rmi://172.27.1.10:1099/jmxconnector In this case, client is not able to connect to server, is there any solution to this problem. How do we make RMIConnector work across NAT. Thanks in advance for help, Chandresh