有时候不知什么时候就关闭了服务窗口,但进程还是在的,于是想要通过命令行来关闭某个端口号
12345
// 查看进程 netstat -ano|findstr "8080" // 根据进程关闭该端口taskkill /f /pid 35768 /t