I am having a problem doing callbacks using an RMI connection.
We have two servers. One exists on one domain on a windows box. The other server is a unix box that exists on a separate domain behind a router performing NAT.
We connect to the Unix box using the external IP of the router. However, we receive an error on the callback from the interal IP of the Unix box. It says that the Unix box is a non-local host. Java policy forbids this use of non-local hosts.
We have tried multiple solutions including changing the sockets to allow there servers all permissions, having a dedicated port for both incoming and outgoing transmissions, changing the java.rmi.server .hostname to reflect the DNS name and attempting to hard code local host in the properties file.
Any suggestions would be appreciated.
We have two servers. One exists on one domain on a windows box. The other server is a unix box that exists on a separate domain behind a router performing NAT.
We connect to the Unix box using the external IP of the router. However, we receive an error on the callback from the interal IP of the Unix box. It says that the Unix box is a non-local host. Java policy forbids this use of non-local hosts.
We have tried multiple solutions including changing the sockets to allow there servers all permissions, having a dedicated port for both incoming and outgoing transmissions, changing the java.rmi.server .hostname to reflect the DNS name and attempting to hard code local host in the properties file.
Any suggestions would be appreciated.
Comment