java.net.SocketException: Permission denied: connect

Stack Overflow | Neo | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    com.sun.mail.util.MailConnectException while trying to use Java Mail API

    Stack Overflow | 5 months ago | Neo
    java.net.SocketException: Permission denied: connect
  2. 0

    How to send email in java using gmail smtp server - HowToDoInJava

    howtodoinjava.com | 1 year ago
    java.net.SocketException: Permission denied: connect
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.net.SocketException: Permission denied: connect with eclipse

    Stack Overflow | 1 year ago | Nomad
    java.net.SocketException: Permission denied: 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

      Permission denied: connect

      at com.sun.mail.smtp.SMTPTransport.openServer()
    2. JavaMail API (compat)
      SMTPTransport.protocolConnect
      1. com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2118)
      2. com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:712)
      2 frames
    3. JavaMail API
      Transport.send
      1. javax.mail.Service.connect(Service.java:366)
      2. javax.mail.Service.connect(Service.java:246)
      3. javax.mail.Service.connect(Service.java:195)
      4. javax.mail.Transport.send0(Transport.java:254)
      5. javax.mail.Transport.send(Transport.java:124)
      5 frames