0

I plugged my Android tablet to the computer with USB cable and looked at the IP of Android device and tried something like ping 160.xxx.yyy.zzz on the computer. There is no response.

I wonder, does being in a huge network that prevent one machine to see the other one affect to pinging from one machine to another, even they are connected by a USB cable?

  • 2
    Did you connect the Android tablet via reverse tethering over USB or what network does it use? – onik Aug 5 '14 at 9:54
  • @onik i do not know what is reverse tethering. – merveotesi Aug 5 '14 at 10:04
  • Just connecting your Android with a PC over USB does not establish IP connectivity. Reverse tethering would be one possibility to achieve that, but there are also other means. – Flow Aug 5 '14 at 10:05
  • @Flow thanks. is there a mean that not need root access – merveotesi Aug 5 '14 at 10:13
  • 1
    @merveotesi If your Android device is connected to same network to which your PC also connected, then PING should work. But there is no relation between plugging USB and PING test. – Keshava GN Aug 5 '14 at 10:33
1

If your network is correctly setup, and both devices are on the same network then you can ping an Android device just fine. I've just tested it on my office network.

If your network administrator has configured the network such that devices can't ping each other, then obviously it won't work. Similarly, it probably won't work if your phone is on mobile data, since most carriers don't allow incoming pings to devices on their network.

Connecting the device with USB makes no difference at all: pinging is a network operation, so it goes over the network connecting the two devices.

  • Also worth noting: 160.xxx.xxx.xxx doesn't sound like a local network address. It's most likely the address of the mobile data connection, where ping (and other services) directed toward the device often is blocked by the carriers routers. – Izzy Aug 14 '14 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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