Tag Archives: socket failed:EACCES(Permission denied)

Socket failed:EACCES(Permission denied) [How to Solve]

Share a solution to the socket failed: eacces (permission denied) error

The reason for this error is that app does not get the corresponding permission when it needs to make TCP request

The solution is very simple, as long as in the androidmanifest. XML file & lt; manifest> Label with

<uses-permissionandroid:name="android.permission.INTERNET"/>

Just authorize