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 192.168.43.1:5555
type adb devices again adb devices Huawie Mate 8 device 192.168.43.1:5555 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 192.168.43.1
unable to connect to 192.168.43.1:5555 cannot connect to `192.168.43.1:5555 : 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.