Figure is my 65535 port is occupied, the general ADB uses 5037 port by default
# #方式一
5037 is the ADB default port, and if 5037 ports are occupied, view the process that occupies the port
Pidc:\users\wwx229495>netstat-aon|findstr 5037
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 8292
View all processes with PID c:\users\qq>tasklist/fi "pid eq 8292" image name
PID Session Name Session # Memory Usage ========================= ======== ================ =========== ============svchost.exe 3676 Services 0 13,800 K
Kill the process that occupies the port c:\users\qq>taskkill/pid 8292/f
Success: The process with PID 8292 has been terminated.
# #方式二
Configure the ADB server port yourself, using an uncommon value.
As simple as defining the value of Android_adb_server_port in the system environment variable.
It is best to choose a 5-digit port number (10000 ~ 65535), which is not easy to repeat.
As long as you add a android_adb_server_port to the environment variable, the value fills in your own defined port.
[Linux] (Http://lib.csdn.net/base/linux) As long as the export $ANDROID _adb_server_port = Custom port, you can.
At the end of the last, I was just restarting the computer.
PS: Also may be your cool dog player/360/Kingsoft Software (Sjk-daemon.exe occupancy) occupies 5037 ports, unloading reboot on OK
Use ADB command prompt port is occupied