I cannot use adb connect to connect via wifi to my device (nexus 5, android 6), but since i\'m developping a cordova plugin using usb OTG, I really need to connect
adb connect
sudo adb start-server
Just worked for me. after A day of looking for a solution.