title: Accessing localhost:port from Android emulator
body: <p>I'm running a web service on my local machine that runs at <code>localhost:54722</code>.</p>
  
  <p>I want to call the service from an app running in the Android emulator.</p>
  
  <p>I read that using <code>10.0.2.2</code> in the app would access localhost, but it doesn't seem to work with the port number as well. It says <code>HttpResponseException: Bad Request</code>.</p>