android serverSocket initialisation causing permission denied exception in service(remote)
-
28-10-2019 - |
Question
I am trying to create a socket with a hardcoded IP address and socket in a remote process:
server = new ServerSocket(80);
and I am getting a permission denied exception even though I have added the INTERNET permission in the manifest file.
What could be possibly wrong in this?
Solution
Perhaps this question may help:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow