Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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!

Connection refused with new version of Exchange Server

843830Jun 18 2004 — edited Aug 9 2007
Hello everybody,

I have program that retrieves new mails form the mailbox on the Exchange Server (IMAP4).
Program worked perfectly with the old version (5.5) but the other day company installed new version (2003) of Exchange Server.
I changed the IP address in my program and expected it to work as good as with the old server but it doesn't work. Username and password are the same as in the old server.
It gives me:
java.net.ConnectException: Connection refused: connect
When I try to connect that mailbox from Outlook it works fine. It means that mail server works fine.
I tried to find answer in the Java documentation but nothing helped me so far.

Does anybody have any suggestions?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2007
Added on Jun 18 2004
12 comments
472 views