File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes RMI problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "RMI problem" Watch "RMI problem" New topic

RMI problem

David Ting

Joined: Jan 08, 2007
Posts: 1
I have an web application using Weblogic (let's call it A), I then have another application (let's call it B) connecting to A through rmi and I got the following error message:
java.rmi.ConnectException: Connection refused to host 123.456

in A machine, there are 2 NIC, namely 123.450 and 123.456
all the user can run this A application through browser and they are using 123.450 to connect.
but when I connect from B to A through RMI, it gets 123.456
the RMI registry service is running.
any ideas? thanks

Greg Ferrell

Joined: Jan 02, 2007
Posts: 5
Is it an AIX machine?

Maybe this helps ...
I agree. Here's the link:
subject: RMI problem
It's not a secret anymore!