java.net.ConnectException: Connection timed out

Oracle Community | User129 | 2 years ago
  1. 0

    email sending code not working on ubuntu

    Stack Overflow | 4 months ago | Anuja
    java.net.ConnectException: Connection timed out
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Messaging Exception in Sending SSL Mail

    Stack Overflow | 2 years ago | hiro
    java.net.ConnectException: failed to connect to smtp.gmail.com/2404:6800:4008:c01::6c (port 587): connect failed: ECONNREFUSED (Connection refused)
  4. 0

    How to Configure Hudson to send email when port 25 is blocked

    Stack Overflow | 5 years ago | user1022412
    java.net.ConnectException: Connection refused: connect</p> <pre><code>at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out

    at com.sun.mail.smtp.SMTPTransport.openServer()
  2. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934)
    2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
    2 frames
  3. JavaMail API
    Service.connect
    1. javax.mail.Service.connect(Service.java:317)
    2. javax.mail.Service.connect(Service.java:176)
    3. javax.mail.Service.connect(Service.java:125)
    3 frames
  4. oracle.sdpinternal.messaging
    DriverConnectionImpl.send
    1. oracle.sdpinternal.messaging.driver.email.outbound.EmailOutboundConnection.send(EmailOutboundConnection.java:679)
    2. oracle.sdpinternal.messaging.newdriver.connection.DriverManagedConnectionImpl.send(DriverManagedConnectionImpl.java:207)
    3. oracle.sdpinternal.messaging.newdriver.connection.DriverConnectionImpl.send(DriverConnectionImpl.java:26)
    3 frames
  5. oracle.sdp.messaging
    SubDriver.onMessage
    1. oracle.sdp.messaging.newdriver.SubDriver.onMessage(SubDriver.java:544)
    1 frame
  6. oracle.sdpinternal.messaging
    QueueWorker.run
    1. oracle.sdpinternal.messaging.jms.QueueWorker.run(QueueWorker.java:89)
    1 frame
  7. weblogic.work.j2ee
    J2EEWorkManager$WorkWithListener.run
    1. weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
    1 frame
  8. weblogic.work
    DaemonWorkThread.run
    1. weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    1 frame