UrgentChatting RMI ( java.rmi.ConnectIOException)
hello;
I have a project cat in RMI in the network internet,le problem what the server doesn't communicate with the customer (the customer has a private address (local network) and the server has a public address (network internet)) message error:
java.rmi.ConnectIOException: Exception creating connection to: 192.168.0.27; nested exception is:
java.net.NoRouteToHostException: No routes to host
how I can solve this problem (urgent)
thank you
hello,
thank you for the answer
yes the customer has an address private IP as 192. *. *. *.,
is that that it is possible the RMI(Internet server) can communicate with the customer (privat IP address 192.x.x.x)
if yes how?
if no him of it ' has a method?
thank you
There are only two ways that I am aware of to do this:
1. The customer must deploy a port-forwarding device such as a NAT device, and the client must do -Djava.rmi.server.hostname= the public IP address of the NAT device prior to exporting its callback. The client must also export on a fixed port number, and the NAT device must be configured to forward this port number as appropriate.
2. Buy and deploy my RMI Proxy product at the client: http://www.rmiproxy.com
EJP
ejpa at 2007-7-13 22:56:40 >
