java.net.SocketException: Permission denied: connect

davmail | expert01 | 5 years 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

    java.net.SocketException: Permission denied:

    davmail | 5 years ago | expert01
    java.net.SocketException: Permission denied: connect
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [Bug 57682] New: Windows 8.1 - java.net.SocketException: Permission denied: connect

    apache.org | 2 years ago
    java.net.SocketException: Permission denied: connect

  1. harshg 3 times, last 6 days ago
  2. mauritius 1 times, last 2 months ago
  3. Aria Pahlavan 47 times, last 4 months ago
  4. VeryRedChris 1 times, last 5 months ago
  5. Tahir 3 times, last 7 months ago
6 more registered users
40 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 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
    SSLSocketFactoryImpl.createSocket
    1. sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
    2. sun.security.ssl.SSLSocketImpl.<init>(Unknown Source)
    3. sun.security.ssl.SSLSocketFactoryImpl.createSocket(Unknown Source)
    3 frames
  4. davmail.http
    DavGatewaySSLProtocolSocketFactory.createSocket
    1. davmail.http.DavGatewaySSLProtocolSocketFactory.createSocket(DavGatewaySSLProtocolSocketFactory.java:171)
    1 frame
  5. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    2. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    3. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    4. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    5. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    5 frames
  6. davmail.http
    DavGatewayHttpClientFacade.executeTestMethod
    1. davmail.http.DavGatewayHttpClientFacade.executeTestMethod(DavGatewayHttpClientFacade.java:598)
    1 frame
  7. davmail.exchange
    ExchangeSessionFactory.checkConfig
    1. davmail.exchange.ExchangeSessionFactory.checkConfig(ExchangeSessionFactory.java:227)
    1 frame
  8. davmail.smtp
    SmtpConnection.run
    1. davmail.smtp.SmtpConnection.run(SmtpConnection.java:64)
    1 frame