connect the usb to your phone open the cmd and type:

adb devices
Huawie Mate 8                   device

and it gives something like this. This is the device connected over usb.Now type

adb tcpip 5555
adb connect

type adb devices again adb devices Huawie Mate 8 device device and it works perfectly.

The problem is: as soon as the usb is plugged out. and after typing: adb devices List of attached devices

and the list is empty try:

adb connect

unable to connect to cannot connect to ` : No connection could be made because the target machine actively refused it.(10061)`

I dont know what to do tried revoke usb from developer settings.

  • Is the phone definitely on the same Wi-Fi network as the PC? – Dan Hulme Jul 9 '18 at 9:10
  • Hi.thanks for the reply.Yes they were but there was a FireWall installed on my phone which didn't support LAN it could only let mobile data and wifi but it had no idea about LAN and blocked all the data. – Steve Jul 15 '18 at 16:09

Hi if you have the same problem,It's probably the firewall on the computer or on the phone,Make sure first disable both and try again if worked get another firewall or adjust the ones you had to get them working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.