admin 管理员组

文章数量: 1086019

1、查看特定端口被占用情况

运行CMD,执行如下命令:

  • netstat -ano:查看电脑端口被占用情况。

  • netstat -ano | findstr [port]:查看特定端口被占用情况。

2、关闭被占用端口的进程

  • taskkill /pid [PID进程号] /f :关闭特定端口。

本文标签: 端口 Windows