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

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -