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