Connection timed out: connect

Samebug tips9

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.

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

Solutions on the web13901

  • via Terracotta by mgd216, 1 year ago
    Connection timed out: connect
  • via Terracotta by sphinx, 3 weeks ago
    Connection timed out: connect
  • via Coderanch by Kel Walker, 7 months ago
    Connection timed out: connect
  • Stack trace

    • Connection timed out: connect at com.sun.mail.imap.IMAPStore.protocolConnect( at javax.mail.Service.connect( at javax.mail.Service.connect( at com.abs.ReadingEmail.main( Caused by: Connection timed out: connect at Method) at at at at at at at com.sun.mail.util.SocketFetcher.createSocket( at com.sun.mail.util.SocketFetcher.getSocket( at com.sun.mail.iap.Protocol.<init>( at com.sun.mail.imap.protocol.IMAPProtocol.<init>( at com.sun.mail.imap.IMAPStore.newIMAPProtocol( at com.sun.mail.imap.IMAPStore.protocolConnect( ... 3 more

    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

    5 times, 10 months ago
    3891 times, 10 months ago
    Unknown user
    Once, 1 year ago
    Once, 3 days ago
    2 times, 3 weeks ago
    485 more bugmates