HTTP FAILED: java.net.UnknownServiceException: CLEARTEXT communication to **IP** not permitted by network security policy
Am trying to integrate Websocket connection from the Android Kotlin application. The Websocket connection works fine when called from the browser. But when the Android application makes WS connection I receive the below error, however other HTTP REST APIs are working fine. I had enabled android:usesCleartextTraffic=”true” and network-security-config to allow clear traffic