停止程序方法:查看占用端口号,杀死对应进程。

Windows下杀进程方法

1.运行 -> cmd命令

netstat -aon|findstr "9000"

列出占用9000端口的进程pid

Microsoft Windows [版本 10.0.14393]
(c) 2016 Microsoft Corporation。保留所有权利。

C:\software\sonarqube-7.6\bin\windows-x86-64>netstat -ano|findstr 9000
  TCP    0.0.0.0:9000           0.0.0.0:0              LISTENING       3556
  TCP    [::]:9000              [::]:0                 LISTENING       3556

 

2.通过pid号杀掉进程

taskkill /pid 3556 -t -f

-f 用来强制执行 

posted on 2020-11-07 23:57  星际贸易梦想家  阅读(123)  评论(0编辑  收藏  举报

导航