CMD命令汇总


1.查看已开启端口进程:

netstat -ano=netstat -a -n -o

 

2.cmd查看指定端口号:

netstat -aon|findstr “8080”

 

3.cmd停止指定端口号:

taskkill /pid 17132-t -f