I found the problem, my rmi service was running on the host IP that was "127.0.0.1". To connect remotely to jvm, I had to bind the external ip to the host name. To do this, on unix systems, use the hostname command to get the hostname. Then check the ip assigned to the host name to find out how to use ping $(hostname) , you will see that the system pings hosname ip. If your host IP address was 127.0.0.1 by default, and you wanted to change it, just edit the / etc / hosts file as root. After restarting the rmi service, you can contact it from a remote machine.
Reza Ameri Apr 28 '14 at 10:25 2014-04-28 10:25
source share