Help needed to resolve RMI RemoteException

Posted by Gabriel Parenza on Stack Overflow See other posts from Stack Overflow or by Gabriel Parenza
Published on 2010-04-30T23:43:31Z Indexed on 2010/04/30 23:47 UTC
Read the original article Hit count: 352

Filed under:

Hello friends,

Any idea why do I get RemoteException while trying to invoke methods on Unix machine from Windows. I am inside the network and dont think this is because of firewall problem as I can do "telnet" from Windows to Unix box after starting the RMI server at the unix box. I also could not understand why is it going to local loopback IP?

Stack Trace:: RemoteException occured, details java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: java.net.ConnectException: Connection refused: connect

Many thanks in advance.

© Stack Overflow or respective owner

Related posts about rmi