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!

No route to host - but can telnet!

843834Dec 14 2007 — edited Dec 19 2007
I'm getting this error when attempting to connect to a POP3 host (on usual 110 port):

MessagingException when attempting to connect to a POP3 email box, because of:
javax.mail.MessagingException: Connect failed;
nested exception is:
java.net.NoRouteToHostException: No route to host
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
at javax.mail.Service.connect(Service.java:156)

The odd thing is, I can telnet to it fine.

Any ideas what's wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2008
Added on Dec 14 2007
5 comments
1,071 views