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.net.SocketException or java.net.ConnectException

843790Nov 24 2009 — edited Dec 1 2009
Hi,
Our application is deployed in different servers.
When I try to access a specific domain in Active Directory, I'm getting following exceptions.

In one server, I'm getting - java.net.ConnectException: A remote host refused an attempted connect operation.

and in the other server - java.net.SocketException: Connection timed out:could be due to invalid address

Few times I could retrieve details. But few times I'm getting above exceptions.
I couldn't figure out what is the issue?

Any suggestions on this issue?

Thanks in Advance..
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2009
Added on Nov 24 2009
2 comments
17,426 views