java.net.SocketException

socket failed: EACCES (Permission denied)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19

  • via Stack Overflow by user291903
    ,
  • Stack trace

    • java.net.SocketException: socket failed: EACCES (Permission denied) at libcore.io.IoBridge.socket(IoBridge.java:619) at java.net.InetAddress.isReachable(InetAddress.java:768) at java.net.InetAddress.isReachable(InetAddress.java:728) at java.net.InetAddress.isReachable(InetAddress.java:698) at com.liamkeenan.viper.custom.Scanner.startScan(Scanner.java:74) at com.liamkeenan.viper.custom.Scanner.<init>(Scanner.java:50) at com.liamkeenan.viper.MainActivity$1.onClick(MainActivity.java:56) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21153) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: android.system.ErrnoException: socket failed: EACCES (Permission denied) at libcore.io.Posix.socket(Native Method) at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:282) at libcore.io.IoBridge.socket(IoBridge.java:604) ... 15 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,