java.net.SocketException: Permission denied code example Example: socket exception permission denied <uses-permission android:name="android.permission.INTERNET"/>