java.net.SocketException: Permission denied

Stack Overflow | Xenos | 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

    Error uploading file to server Java

    Stack Overflow | 3 years ago | BrianW
    java.net.SocketException: Permission denied
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Android JCIF SMB

    Stack Overflow | 5 years ago | user1060082
    java.net.SocketException: Permission denied

    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

      at org.apache.harmony.luni.platform.OSNetworkSystem.socket()
    2. org.apache.harmony
      OSNetworkSystem.socket
      1. org.apache.harmony.luni.platform.OSNetworkSystem.socket(Native Method)
      1 frame
    3. Android Platform
      BlockGuard$WrappedNetworkSystem.socket
      1. dalvik.system.BlockGuard$WrappedNetworkSystem.socket(BlockGuard.java:335)
      1 frame
    4. org.apache.harmony
      PlainSocketImpl.create
      1. org.apache.harmony.luni.net.PlainSocketImpl.create(PlainSocketImpl.java:219)
      1 frame
    5. Java RT
      Socket.connect
      1. java.net.Socket.checkOpenAndCreate(Socket.java:832)
      2. java.net.Socket.connect(Socket.java:978)
      2 frames
    6. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
      2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:143)
      3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
      4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
      5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:359)
      6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
      7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
      8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
      8 frames
    7. com.xenos.httpclienttest
      HttpClientTest$1.onClick
      1. com.xenos.httpclienttest.HttpClientTest$1.onClick(HttpClientTest.java:60)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:2532)
      2. android.view.View$PerformClick.run(View.java:9291)
      3. android.os.Handler.handleCallback(Handler.java:587)
      4. android.os.Handler.dispatchMessage(Handler.java:92)
      5. android.os.Looper.loop(Looper.java:150)
      6. android.app.ActivityThread.main(ActivityThread.java:4293)
      6 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:507)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
      2 frames
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame