java.net.SocketException: Permission denied: connect

oracle.com | 4 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

    Java: Yahoo Finance API: SocketException: Permission denied

    Stack Overflow | 2 years ago
    java.net.SocketException: Permission denied: connect
  2. 0

    TopCoder Forums

    topcoder.com | 2 years ago
    java.net.SocketException: Can't connect to SOCKS proxy:Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Connection leak with hot reload after #5 fix

    GitHub | 3 years ago | nsphung
    java.net.SocketException: Socket operation on non-socket

  1. regisso 1 times, last 7 months ago
6 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
    HttpURLConnection.getInputStream
    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)
    9. java.net.Socket.connect(Unknown Source)
    10. sun.net.NetworkClient.doConnect(Unknown Source)
    11. sun.net.www.http.HttpClient.openServer(Unknown Source)
    12. sun.net.www.http.HttpClient.openServer(Unknown Source)
    13. sun.net.www.http.HttpClient.<init>(Unknown Source)
    14. sun.net.www.http.HttpClient.New(Unknown Source)
    15. sun.net.www.http.HttpClient.New(Unknown Source)
    16. sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(UnknownSource)
    17. sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
    18. sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    19. sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    20. sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    21. sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    21 frames
  3. Unknown
    URLContent.main
    1. URLContent.main(URLContent.java:18)
    1 frame