java.net.SocketException: Network is unreachable: connect

Coderanch | Bhawana Gupta | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Weird Behaviour of javax.mail [Solved] (Java in General forum at JavaRanch)

    coderanch.com | 2 years ago
    java.net.SocketException: Network is unreachable: connect
  2. 0

    IBM javax.mail.MessagingException: Could not connect to SMTP host - United States

    ibm.com | 8 months ago
    java.net.SocketException: Network is unreachable: connect
  3. 0

    Weird Behaviour of javax.mail

    Coderanch | 3 years ago | Bhawana Gupta
    java.net.SocketException: Network is unreachable: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Failed to send an email after migration from Glassfish 2.1 to Glassfish 4.1

    Stack Overflow | 2 years ago | Hackilltour
    java.net.SocketException: Network is unreachable: connect

    2 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.SocketException

      Network is unreachable: connect

      at com.sun.mail.smtp.SMTPTransport.openServer()
    2. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
      2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
      2 frames
    3. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:275)
      2. javax.mail.Service.connect(Service.java:156)
      3. javax.mail.Service.connect(Service.java:105)
      4. javax.mail.Transport.send0(Transport.java:168)
      5. javax.mail.Transport.send(Transport.java:98)
      5 frames