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!

java.net.ConnectException: Connection timed out

843830Mar 7 2007 — edited Mar 21 2007
I am building a EMail client in Java. When testing for the program at this line of code::

connection = new Socket(envelope.DestAddr,SMTP_PORT);
i am receiveing Erro:: java.net.ConnectException: Connection timed out: connect

I turned off firewall in my system, but still getting this error

The full description of the project can be found here

Sending failed: java.net.ConnectException: Connection timed out: connect
http://cs.wwc.edu/~aabyan/425/apiLab2/lab2.html

HELP!!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2007
Added on Mar 7 2007
14 comments
1,256 views