The reason for the error is that the port of ADB is occupied by the process of other programs, so what to do is to find and kill the process. Steps:
1. Run adb nodaemon server in cmd, see what the port number of ADB is, and under normal circumstances is 5037 (why? I don't quite understand, maybe the port number used by the software is fixed)
2. Re-run Netstat-ano | Findstr "5037", you will see a situation like the following:
A little explanation here is that the left-to-right meaning of the display is the connection type (TCP), the local address and port, the external address and port, the connection status, and the PID number of the process. Here are two processes occupied 5037port, one occupied by the local 5037port, the other occupied by the external 5037port, to kill is of course the local PID 240 port!
3, Ctrl+alt+del call to serve the manager. Click Process, now looking for a PID of 240 process. Sometimes you may find that the Task Manager does not have the process PID information display, this time just to click on the Task Manager's view--and select the column, and then the PID check on it. This time again to view the current process of PID, the PID 240 process to kill off.