Naming.lookup works within the server class, !_NEWLINE_!the same thing does not work in the client class
0 posts in topic
Flat View  Flat View

Posted By:   Thothathri_Sarathy
Posted On:   Wednesday, April 25, 2001 11:17 AM

I am trying a simple example for RMI, very similar to
the one in java tutorials/jguru example. I am using
rmiregistry, java.policy file, one server class, one
client class.

When I use, Naming.lookup function, it works fine
within the server class. but the samething when I call
from the Client class, it gives a RemoteConnectExceptions
saying Connection refused.

Any Comments or Ideas

About | Sitemap | Contact