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.
Pierre Sugar wrote:Thanks for the idea. I opened port 1099 at my router (I am using default port) but this did not help. Do you have any other solutions?
What about your firewall, did you also give port 1099 access there ??