I am trying to connect an android app with a web service ASP.Net with JSON .
How could I do it to work in local? Using URLs as localhost: port, ip_of_my_team or 10.0.2.2 does not work for me. Any alternative or clue to what may be failing? When I try it I get this in the logcat:
W / System.err: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)