Android serverSocket initialization causing permission denied exception in service (remote)

I am trying to create a socket with a hard-coded IP address and socket in a remote process:

server = new ServerSocket(80);

and I get an exception that is excluded from the permission, even if I added the INTERNET permission to the manifest file.

What could be wrong with that?

+3
source share
1 answer

Perhaps this question may help:

0
source

All Articles