Find the occupancy of computer ports
For example, check the occupancy of port number 5037 (port of adb)
1. Use the netstat -ano command
Find the port number 5037 and find the PID of the corresponding process
Then we look for the process with PID 5736 in the windows task manager
Find it as eclipse, indicating that you have found it right, because eclipse will call adb
Second, the help of the command line window
If there are any instructions that are not clear, just look for help in the command line window as follows