[RMI] Connection refused error

"Vanfleet, David" <[email protected]> Tue, 19 Dec 2006 08:37:44 -0800
Newsgroups gmane.comp.java.sun.rmi
Message-ID <352366D52DA72B4295106E3C65E1719103A40C30@USCYMPLM004.net.plm.eds.com>
I have another quick question, I'm trying to connect from a windows
system to the RMI registry on my Linux server. I can access my RMI
service from the Linux server but not from my windows system. I get the
following error:

 

java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
exception is: 

            java.net.ConnectException: Connection refused: connect

 

From my windows system I can get the registry object and list the names:

 

Registry registry = LocateRegistry.getRegistry("orion");

 

I get the error when the registry.lookup occurs. I think I'm missing
something very basic here, is there a config file on the server that
needs to specify what clients can access the RMI registry?

 

Thanks,

David


===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html