Are you actually using http
or are you using https
? In today’s world, you should be using https
for everything
If you are in fact using http
and cannot use https
, then you will need to make an exception in your Android security config to allow the host name as by default clear text traffic (http
) is not permitted.
See Unable to carryout HTTP post on Android - #2 by twestrick on how to make an exception.