以 8088 端口为例:

netstat -aon|findstr "8088"

最后一列是 pid。假设为 5544

taskkill /pid 5544 -t -f