ASP.NET Web API call from android -


i calling asp.net web api in android(java). have deployed web api on localhost , using localhost url in api call.

i'm getting connection refused error. i've tried following:

  • called api using local host url.
  • called api using 10.0.2.2 ip.
  • called api ip address.
  • called api using 127.7.0.0

kindly suggest should done in scenario.

p.s: i've tested on both emulator , android device. on same network. still same error.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

minify - Minimizing css files -

php - How to remove letter in front of the word laravel -