window+cmd
这里以8080端口为例
输入
netstat -ano|findstr 8080
找到TCP为i0.0.0.0:8080 的监听LISTENING ---8268
taskkill /f /pid 8268