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
connect using USB and Just use this command
adb tcpip 5555
It will restart services