当前位置: 代码迷 >> 综合 >> Windows服务器相关
  详细解决方案

Windows服务器相关

热度:42   发布时间:2023-10-21 15:29:09.0

Windows杀进程释放端口号:

1. 打开命令行 cmd

2. 查找进程 netstat -ano | findstr "8088"

C:\Users\74217>netstat -ano | findstr "8088"TCP    0.0.0.0:8088           0.0.0.0:0              LISTENING       26868TCP    [::]:8088              [::]:0                 LISTENING       26868

3. 杀死进程 pid:26868

taskkill  /pid 26868 -f -t

 

根据pid查询程序路径:

wmic process get name,executablepath,processid|findstr 8333

 

服务变成停止状态,所有按钮都是灰色的,无法启动:

1.首先先到卡住的服务名称:服务右击属性,便可查询到服务名称

2.查询服务的pid:sc queryex 服务名称

3.杀死服务进程:taskkill  /f /pid 8333

4.重启服务

 

telnet towel.blinkenlights.nl

 

  相关解决方案