connection refused when trying to connect to my REST server from android emulator
问题 consider the following android code and please solve my problem: There is REST server running on my laptop..i can access that server from my browser and get proper resuts...but now i want to use it from my android emulator that is also running on my laptop using following code.. // String URL = "http://localhost:8080/server/rest/user/1"; String URL = "http://www.google.com"; HttpClient httpclient = new DefaultHttpClient(); HttpGet request = new HttpGet(URL); HttpResponse result = httpclient