No Route to Host
843793Mar 28 2005 — edited May 27 2007Hi I have a simple RMI program that connects from a windowsXP machine to a Linux machine.
IP client : 192.168.0.2
IP server: 192.168.0.6
They both are connected to a simple ADSL router.
I start rmiregistry for J2SE 5 on port 1099 and this ip:port combo can be scanned from the client.
But when I run the client app I get :
Client exception: java.rmi.ConnectIOException: Exception creating connection to:
192.168.0.6; nested exception is:
java.net.NoRouteToHostException: No route to host: connect
java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.6; nest
ed exception is:
java.net.NoRouteToHostException: No route to host: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unkn
own Source)
The server accepts connections on all ports to 60000. It looks like all is ok, I disabled zonealarm on the XP machine and all should work but it doesn't.
Who knows of a solution ?
Thanks,
Coenos