I did following to set up adb over wifi: (Before starting this process, I connected the board to wifi and verified the wifi connection as well.)
adb wait-for-device && adb root && adb wait-for-device && adb remount && adb wait-for-device
adb shell "echo service.adb.tcp.port=5555 >> /data/local.prop"
adb shell chmod 0644 /data/local.prop
Disconnected usb from pc and rebooted.
ping <my ip address> this works fine
adb connect <my ip address>:5555
unable to connect to <my ip address>:5555
I repeated the steps about 7-8 times and i am stuck on this for the last 3 days. I would greatly appreciate if anybody could help me resolve the issue.
Thanks in advance