First execution adb nodaemon server, view the adb server port number is
C:\Users\xxxx>adb nodaemon server cannot bind 'tcp:5037'
And then the next netstat -ano | findstr "5037"
C:\Users\xxxxxx>netstat -ano | findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4236
TCP 127.0.0.1:5037 127.0.0.1:49422 ESTABLISHED 4236
TCP 127.0.0.1:49422 127.0.0.1:5037 ESTABLISHED 3840
Then you can execute tskill 4236
Reproduced in: https: //www.cnblogs.com/davidgu/p/4515236.html