java.net.ConnectException

Connection timed out

Samebug tips9

host port isnt set

Check if your MongoDB is available.


Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web13468

  • Connection timed out (Connection timed out)
  • via GitHub by andrewufrank
    , 5 months ago
    Connection timed out (Connection timed out)
  • Connection timed out (Connection timed out)
  • Stack trace

    • java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:625) at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160) at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288) at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:205) at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900) at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638) at javax.mail.Service.connect(Service.java:317) at javax.mail.Service.connect(Service.java:176) at javax.mail.Service.connect(Service.java:125) at oracle.sdpinternal.messaging.driver.email.outbound.EmailOutboundConnection.send(EmailOutboundConnection.java:679) at oracle.sdpinternal.messaging.newdriver.connection.DriverManagedConnectionImpl.send(DriverManagedConnectionImpl.java:207) at oracle.sdpinternal.messaging.newdriver.connection.DriverConnectionImpl.send(DriverConnectionImpl.java:26) at oracle.sdp.messaging.newdriver.SubDriver.onMessage(SubDriver.java:544) at oracle.sdpinternal.messaging.jms.QueueWorker.run(QueueWorker.java:89) at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184) at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 2 months ago
    Unknown user
    Once, 2 months ago
    Unknown user
    Once, 9 months ago
    2 times, 10 months ago
    483 more bugmates