I followed the steps in this post and tried to connect to my debug Motorola X Gen 2 for Wifi on OS X El Cap.
I connected my phone to the laptop using a USB cable, I killed and started the server, the server was started successfully, and then in:
./adb devices
I got
List of devices attached TA44909GA0 device
Then i did
./adb tcpip 5555
And I tried
./adb connect <IP addr of my phone>:5555
both with a USB cable plugged in and unplugged, none of them worked. Both returned an error message:
unable to connect to ***.***.***.***:5555: Operation timed out
I can not understand what is happening here, I tried the Android Studio ADB WIFI plugin, which returned the same message, the operation timed out. I restarted everything, tried to connect to another cable and everything, nothing worked.
Does anyone know what is going on here?
source share