Localhost for Android Emulator and iPhone Simulator.
If you are trying to access a file (PHP or java) residing in your server in your own machine, then you have to use a specific IP to access it. If it is public, then use the other System’s IP 1. If it is localhost, In Android you use it as 10.0.2.2 The localhost refers… Read More »