一、打开cmd
二、
①先netstat -ano|findstr "port" 如netstat -ano|findstr "8080"
协议 本地地址 外部地址 状态 PID
TCP 127.0.0.1:xxxx 0.0.0.0 LISTENING 2133
②再tasklist|findstr "pid"
映像名称 PID 会话名 会话# 内存使用
x.exe 2133 Services 0 xxxx K
Kill 掉
三、C:\>taskkill /F /pid “4984”