I've got app running on an AVD that generates a http GET request. This points to an endpoint running in VS2015. VS2015 provides me with <http://localhost:7071> as the target to use, but you can't use localhost on an AVD as the AVD thinks you're targeting it and you'll receive access denied. I have tried targeting 10.0.2.2:7071 and 127.0.0.1:7071 as suggested elsewhere, but nothing works. Either it's access denied or host cannot be found.

localhost:7071 definitely is live though as I can get an access denied page in Chrome, so that's a valid response.

How do you set this up so that it will work?