I have a Xamarin app and localhost API. I\'m trying to connect to the API from the app, but it could not be found. I edited my applicationhost.config file and I
That 10.0.2.2 address is used for the Google emulators. For the Microsoft emulator you want to use 169.254.80.80. If that doesn't work then it must mean you have the firewall on and it's blocking the traffic. That can be solved by adding a new incoming rule for the program or port.