This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I try to run RMI over Internet. Locally it is working fine, but when I try to contact the server from my client machine over internet I get a NoPassToRouteException. I searched the Internet for hours but didn't find the apropriate answer.
I have a server machine (Linux with Apache web server) where I connect to over SSH.
I have a client machine (Linux)
Here is how I start my server. The IP address is dynamic provided by the ISP at the time. I opened port 80 on my router. The Apache web server is running on ubuntumobile. The rmiregistry is running on ubuntumobile and CalculatorServer is invoced on ubuntumobile.
So the server starts up and is waiting for requests.