Windows Windows port狀態指令 Find all running ports 1 netstat -ano or 1 netstat -alp View the PID of the occupied port 1 netstat -aon|findstr "80" View the process with the specified PID 1 tasklist|findstr "80" end the process 1 taskkill /T /F /PID 80