I know similar questions have been asked many times, but I still can\'t get it working correctly. I\'d like to be able to access IIS Express on my host machine from my Visua
In your .NET project Go to project settings | Debug and replace "localhost" to your loopback adapter "127.0.0.1" in your "app url" string.
Worked for me. app url setting in .NET project/debug settings
You missed a few basic facts. 10.0.2.2 on Android emulator is translated to 127.0.0.1 on the host. Thus, change your bindings to
<binding protocol="http" bindingInformation="*:7265:127.0.0.1" />
<binding protocol="https" bindingInformation="*:44300:127.0.0.1" />
You can also remove host headers from bindings by following this blog post,
https://blog.lextudio.com/how-to-let-android-emulator-access-iis-express-f6530a02b1d3