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?

9
  • 2
    Did you connect the Android tablet via reverse tethering over USB or what network does it use? Commented Aug 5, 2014 at 9:54
  • @onik i do not know what is reverse tethering.
    – merveotesi
    Commented Aug 5, 2014 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
    Commented Aug 5, 2014 at 10:05
  • @Flow thanks. is there a mean that not need root access
    – merveotesi
    Commented Aug 5, 2014 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
    Commented Aug 5, 2014 at 10:33

1 Answer 1

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.

1
  • 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
    Commented Aug 14, 2014 at 16:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .