Skip to content Skip to sidebar Skip to footer

Java.net.socketexception: Permission Denied In Android Studio With Visual Studio 2017 Web Service

I use KSOAP2 library in Android Studio, SQL SERVER with an 'Clientes' table and web service ASP.NET in Visual Studio 2017. When I call a Web Service SOAP 'TareaWSConsulta' and 'Tar

Solution 1:

Try using https in your url, not http.

For your url, change:

String URL="http://10.0.2.2:51629/ServicioClientes.asmx";

to:

String URL="https://10.0.2.2:51629/ServicioClientes.asmx";

Hope this helps, as it worked for me.

Post a Comment for "Java.net.socketexception: Permission Denied In Android Studio With Visual Studio 2017 Web Service"