How do you connect localhost in the Android emulator? [duplicate]

This question already has answers here: How to connect to my http://localhost web server from Android Emulator (17 answers) Closed 1 year ago. I have made a php script inside localhost and I am connecting that with httpClient but I am getting a problem. Please tell me how can I connect to a php file … Read more