ADB shell-ing to wifi connected device when usb device present I have two devices connected to my workstation simultaneously, one by usb, the other over wifi.

C:\&gt;adb devices
List of devices attached
Cxxxxxxxxxx2            device
192.168.60.69:5555      device


I'm not sure how to shell into the wifi connected device while the usb one is present.

I've tried the following

C:\&gt;adb shell
error: more than one device and emulator

C:\&gt;adb -s 192.168.60.69 shell
error: device not found

C:\&gt;adb -s 0xxxxxxxxxxxxxx1 shell
error: device not found


where 0xxxxxxxxxxxxxx1 is hardware id of wifi connected device

Only way that works is to disconnect the usb connected device. However, I'm going to eventually have multiple wifi connected devices, I still don't know how to distinguish between them when trying to shell in?

Edit (6/13/2014)

I see why I was omitting the port, b/c the connect command returns the following error when trying to connect and cannot (say for instance the devices wifi was accidentally turned off)

C:\&gt;adb connect 192.168.60.69:5555
unable to connect to 192.168.60.69:5555:5555


This made me think that adb would append port based on ip. However this is not the case, since after wifi was enabled on the target device, the above command did work

C:\&gt;adb connect 192.168.60.69:5555
connected to 192.168.60.69:5555


I needed to mention something to show that I atleast know tcp/ip connect fundamentals (ip and port). Kinda embarrassing...
You need to include the port number.

adb -s 192.168.60.69:5555 shell


If you're using a sensible shell with configurable tab-completion (i.e. not Windows), then you can type adb -sTab to get a list of devices.