java.net.ConnectException: Connection refused: connect

Coderanch | Harry Sunarsa | 5 years ago
  1. 0

    javamail error, connection refused

    Stack Overflow | 5 years ago | harry sunarsa
    java.net.ConnectException: Connection refused: connect
  2. 0

    send email using gmail account

    Coderanch | 5 years ago | Harry Sunarsa
    java.net.ConnectException: Connection refused: connect
  3. 0

    unable to send message using java.. IOException error

    Stack Overflow | 3 years ago | Grayson Briggs
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    unable to attach MimeMultiPart to Transport.send()

    Stack Overflow | 3 years ago | Grayson Briggs
    java.net.ConnectException: Connection refused: connect

  1. bpbhat77 2 times, last 3 months ago
  2. tfr 2 times, last 4 months ago
  3. tvrmsmith 1 times, last 4 months ago
  4. pnaranja 2 times, last 5 months ago
  5. richard77 2 times, last 1 week ago
45 more registered users
48 unregistered visitors
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 refused: connect

    at java.net.DualStackPlainSocketImpl.connect0()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    3. java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    5. java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    6. java.net.PlainSocketImpl.connect(Unknown Source)
    7. java.net.SocksSocketImpl.connect(Unknown Source)
    8. java.net.Socket.connect(Unknown Source)
    8 frames
  3. Java JSSE
    BaseSSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    2. sun.security.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    2 frames
  4. JavaMail API (compat)
    SMTPTransport.protocolConnect
    1. com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)
    2. com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:205)
    3. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1900)
    4. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:638)
    4 frames
  5. JavaMail API
    Transport.send
    1. javax.mail.Service.connect(Service.java:317)
    2. javax.mail.Service.connect(Service.java:176)
    3. javax.mail.Service.connect(Service.java:125)
    4. javax.mail.Transport.send0(Transport.java:194)
    5. javax.mail.Transport.send(Transport.java:124)
    5 frames
  6. mailPackage
    mail3.main
    1. mailPackage.mail3.send(mail3.java:52)
    2. mailPackage.mail3.main(mail3.java:25)
    2 frames