if you can't connect through adb wireless
try first pinging your phone in cmd type: ping -t 192.168.0.5
keep it running until it has response like =TTL64
then you can connect to it.
open a new cmd window the type: adb connect 192.168.0.5
then you can adb shell or pull push any adb commands
but usb cable is faster.
note:change 192.168.0.5 to your phone's ip stated in the quicksettings, also keep screen on to avoid wifi sleeping.