SocketException: Operation not permitted

We may run into this error while developing an app for Android: It may look like this as well: I won’t be torturing you with long explanations and references 😁, so everything you should do is to check that you have android.permission.INTERNET permission in your AndroidManifest.xml: Sometimes it’s necessary to add android.permission.ACCESS_NETWORK_STATE as well.

READ MORE

Viewing connections on a Linux port

Sometimes you might want to see the active connections on a specific port, rather than just the status of the port. This can be done using netstat: Something like this will be output (for example for port 19356): Lines containing ESTABLISHED are active connections on the specified port. In our case, there are two of them.

READ MORE