File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Distributed Java and the fly likes rmi,unknown host from client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "rmi,unknown host from client" Watch "rmi,unknown host from client" New topic
Author

rmi,unknown host from client

michal wert
Greenhorn

Joined: Oct 25, 2009
Posts: 2
I've tried to run rmi example from sun page. The server is running but when I try to run client, the following error is shown:



what's the problem?
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Looks like while starting the server you have specified:

-Djava.rmi.server.hostname=xyz

Is that correct?

The server hostname defaults to localhost, so you dont need to do anything if you are running everything on the same box.


apigee, a better way to API!
michal wert
Greenhorn

Joined: Oct 25, 2009
Posts: 2
Thanks. It works
 
Consider Paul's rocket mass heater.
 
subject: rmi,unknown host from client