I have a wamp server in localhost. I tried to make an http request from my android app. But he can’t understand. Many say that 10.0.2.2:8080 will point to localhost from the emulator. So I tried to open it in a web browser from an emulator. I printed the url as "10.0.2.2/cifi/test.php". But the emulator detected an error like "net: CONNECTION_TIMED_OUT"
Explanation required: how to make my wamp server on the local machine listen on 10.0.0.2:8080 from the emulator browser.
source
share