Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to use an Android emulator to use services running on my local machine. I have a site running under IIS which in my host file looks like this:       www.local.company.co.uk

I have several sites running under Apache Tomcat. My host file for Tomcat related sites:       internal.localhost.company.com  # port:8090       external.localhost.company.com  # port:8081       auth.ws.localhost.company.com  # port:8082       mysite.localhost.company.com  # port:8086

What I have tried so far (in the following steps):

adb pull /etc/hosts

Edit Android host file:        localhost         myefc.localhost.efinancialcareers.com

adb remount
adb push hosts /etc/hosts

Then I try to visit myefc.localhost.efinancialcareers.com in the browser and am told webpage not found. I’d at least expect it to go to www.local.company.co.uk.

What I would ideally like is to be able to go to any site on my local machine which are specified in the above host file examples.

I am on Windows 7 and using Tomcat 6. The emulator I am using is nexus one.

I've been told here that this may be a networking issue - http://android.stackexchange.com/questions/37310/cant-connect-android-emulator-to-look-at-local-sites-and-services

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.