How to access a remote php file from ANDROID? By admin | January 19, 2011 3 Comments For working on the localhost use 10.0.2.2 and for remote use the IP or domain name of the server. The following code does this.