Restart in TCP mode port 5555 hangs adb

So, I am following a few online tutorials for setting up debugging Android applications via Wi-Fi, as my USB connection is broken.

The first command line input gives me problems.

I am typing

adb tcpip 5555

and get this message:

Restarting in TCP mode port 5555

This message just hangs and the process does not end.

I tried different port numbers, same thing. I tried to connect to the IP address of the device and no luck.

Any ideas?

+7
source share
5 answers

Make sure the same network is connected to the desktop and device? and

 1) Switch on wi-fi 2) adb tcpip 5555 - it restarts your device 3) adb connect deviceIpAddress:5555 4) Unplug your device and run project 

Enjoy life))))

+2
source

Just plug in the USB cable at this point and plug in.

+6
source

I have the same problem, sometimes when this happens, use 5556 or another port. it works for me.

+1
source

When adb tcpip 5556 does not respond, remove the data cable and connect the cable

adb shell netcfg - to search for ip phone.
adb connect ip:5556 device will be successfully added.
adb devices - a list of all connected devices.

+1
source

I know this is an old topic, but it can still help others. My problem was resolved when I changed the USB connection mode of the Android device from the USB drive to MTP in the settings of the Android USB device.

0
source

Source: https://habr.com/ru/post/989196/


All Articles