1.根据端口号杀死进程

查看指定端口 netstat -aon|findstr “8082”
image.png
根据pid插死进程: tasklist|findstr “51084”
杀死指定进程: taskill /F /PID 51084