查看端口被谁占用

netstat -help:指令帮助说明

netstat -ano:列出所有端口情况

例如,端口902,netstat -aon|findstr "902" 查看其PID为2892

使用命令tasklist|findstr "2892" 查看是哪个进程或程序占用了该端口

猜你喜欢

转载自www.cnblogs.com/hebiao/p/10250918.html