Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.rmi.ConnectException: Connection refused to host: Connection timed out

870997Mar 17 2012 — edited Mar 19 2012
OK, I am getting the dreaded java.rmi.ConnectException: Connection refused to host: Connection timed out

I've been googling for solutions for a while and no success, although lots of people have been in this boat before.

java.rmi.ConnectException: Connection refused to host: 169.254.105.9; nested exception is:
java.net.ConnectException: Connection timed out: connect

I can ping the server from the client. I can telnet to 169.254.105.9 1099 just fine. I have disabled all the firewalls I can think of - although corporate policy is we have to run McAfee and I seem to have no control over that. When I run the client and server on the same system using localhost everything works fine.

Can anyone think of any other things I could try to figure out why my RMI won't connect? Are there any more diagnostics I can try?

Cheers, Eric
This post has been answered by EJP on Mar 19 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 16 2012
Added on Mar 17 2012
14 comments
28,773 views