kill the process id of port

netstat -ano |findstr 9000

C:Usersmsz>netstat -ano |findstr 9000
  TCP    0.0.0.0:9000           0.0.0.0:0              LISTENING       2296
  UDP    0.0.0.0:9000           *:*                                    2296

taskkill /pid 2296 -f(让我们果断杀掉它吧!!!)

C:Usersmsz>taskkill /pid 2296 -f

成功: 已终止 PID 为 2296 的进程

原文地址:https://www.cnblogs.com/otfsenter/p/6622786.html