Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a use case where my app running on an Android device need to communicate with a web service running on a Windows 7 PC. This was achieved using wifi successfully. But now I need to achieve this using USB connection as we may not have wifi working at the customer's location.

The Android device is unrooted. I can not use a reverse tethering app as it needs the device to be rooted.

The following link has the same question but doesn't have an answer - Accessing localhost of PC from USB connected Android mobile device

Does anybody have an answer for this?

share|improve this question
What link?..... – Bryan Denny Dec 13 '12 at 14:30
Accessing localhost of PC from USB connected Android mobile device – surya Dec 14 '12 at 9:09

I normally do this by using the WiFi tethering option built into Android - and it works perfectly.

As of this moment, the only way you may be able to do it via USB is using ADB, but I have tried using multiple apps and have never got it to work.

share|improve this answer

To access localhost of PC through USB tethering on android, Do the following:-

  1. Assign a static IP to the PC or find the internal IP of the PC.
  2. Make sure USB tethering is active.
  3. Using stock browser, disable proxies and type in the static IP (internal IP) of the PC.
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.