windows下关于端口的一些命令操作

查看所有端口号:

netstat -ano

查看状态为"监听"的所有端口

netstat -ano |find /i "listening"

查看端口为135的端口号

netstat -aon | findstr 135

结束进程编号为18716的进程

taskkill /F /PID 18716

猜你喜欢

转载自blog.csdn.net/qq_52915133/article/details/124117819