No Consistent Way to Connect ADB over TCP

Try starting from scratch and setup ADB-over-tcp following steps below:

  1. Turn off USB debugging on your device and turn it on again (just to reset).
  2. Kill the ADB server on your PC using adb kill-server
  3. Connect your device to the PC using the USB cable and type adb devices. This will automatically restart the ABD server again.
  4. Enter adb tcpip 5555 on your PC terminal. This will switch the adbd daemon on your device to tcp-ip mode.
  5. Disconnect your device from USB. Now connect your device to the same wireless network as your PC, either the same wi-fi or use your phone as a hotspot.
  6. Determine your phone's ip. You can do this in the wi-fi settings on your phone. If you are using your phone as hotspot, then generally your ip should be 192.168.43.1 (not required but most of the time it's the same).
  7. Connect to ADB via tcp using adb connect <IP>

This should hopefully connect your device to your pc via tcp-ip.


I found a solution that works for me, but I feel it shouldn't necessary and it may not applicable for everybody else with these issues, so its still not quite what I was aiming for.

Anyways, after seeing riyaz-ali suggest what an IP address I should be for using a mobile hotstop through a phone, I realized any network complications would be solved if I was the network, so I connected my mobile device to the mobile hotspot on my laptop.

Instant ping responses and immediate ADB connection with the popularly suggested commands.