How to shut down the port in use in Windows
1 first confirm the occupied port number, for example, port 443
2 and then look at the program PID on port 443.
① enters the cmd interface (shortcut key win+R or click run, type cmd to enter the cmd interface)
② enter netstat-nao | findstr 443
③ looks at the program with the number 443 after the second column ip, and the last column is PID
④ records the pid value with port number 443
3 finally, open the task manager, check the PID column, find the recorded pid value, and click to end the process.