且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

杀死运行在任何端口上的 tomcat 服务,Windows

更新时间:2023-01-18 08:08:35

1) 转到(打开)命令提示符(按 Window + R 然后键入 cmd 运行这个).

1) Go to (Open) Command Prompt (Press Window + R then type cmd Run this).

2) 运行以下命令

对于所有监听端口

应用端口过滤器

最后有了PID,我们可以运行以下命令来终止进程

3) 从结果集中复制 PID

Finally with the PID we can run the following command to kill the process

3) Copy PID from result set

例如:taskkill/F/PID 189

Ex: taskkill /F /PID 189

完成!!!您现在可以开始您的服务了.

Done !!! you can start your service now.