aspose file tools*
The moose likes Java in General and the fly likes RMI :remote exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "RMI :remote exception" Watch "RMI :remote exception" New topic
Author

RMI :remote exception

iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
hai
i have bank,store,client application
1.rmiregistry
2.bank
up to this no problem

3.store
then i got this exception

Remote Exception: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused


pls help me
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
you are a little terse here with details...

can you show some code ?, what line/part of code is causing the exception ?


does localhost resolve to your machine ? is the registry up and running, is the service bound to the registry, are you allowed to connect to the port ? are you using the good port number ?


pascal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMI :remote exception