IntelliJ Java IDE
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes java.rmi.ConnectException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Developer Certification (SCJD/OCMJD)
Reply Bookmark "java.rmi.ConnectException" Watch "java.rmi.ConnectException" New topic
Author

java.rmi.ConnectException

Ravikiran Choppalli
Ranch Hand

Joined: Nov 18, 2000
Posts: 49
Friends,
I'm facing a problem with RMI communication when my Server is running on Redhat Linux 7.0 and Client is running on Windows NT 4.0. I'm getting the following Error. On all other combinations of Linux and Windows it is working.
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested excepti
on is:
java.net.ConnectException: Connection refused: no further information
I read some posts, and they say, it is problem with /etc/hosts file. I tried changing it but in vain.
Any Help is appreciated.
Thanks,
Ravi.


Thanks,<BR>Ravikiran<BR>rkchoppalli@yahoo.com
Ravikiran Choppalli
Ranch Hand

Joined: Nov 18, 2000
Posts: 49
Hope somebody can address this issue.
I read somewhere that jdk1.3 on redhat7 is not supporting RMI correctly. How far is that true ?
Thanks,
Ravi.
death pac
Greenhorn

Joined: Jun 15, 2001
Posts: 12
hi ,
i tested my application with redhat linux 7.1 running the server and Win2000 the client and it worked fine !i was running jdk1.3 installation on both the machines.
rmi works fine without any glitches on redhat 7.1/jdk1.3
cheers
pac
 
IntelliJ Java IDE
 
subject: java.rmi.ConnectException
 
Threads others viewed
JBoss 6 Shutdown - Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableExce
Java RMI Connection Problem
java.rmi.ConnectException
Help on locate RMI registry in linux and window
java.rmi.ConnectException
IntelliJ Java IDE