Check the port is occupied cmd command under Window10
- Enter the cmd interface and enter the netstat -ano command (to view the occupancy of all ports) or netstat -aon|findstr "specific port number" (to view the occupancy of the specified port)
netstat -ano (查看所有端口占用情况)
netstat -aon|findstr "具体端口号" (查看指定端口占用情况)
- Enter the tasklist|findstr "PID" command to find the corresponding PID process name of the occupied port
tasklist|findstr "PID" (找到被占用端口的相应的PID进程名称)
- Open the task browser, you can find the corresponding program through PID or application program and close it