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

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -