一、netstat:
1、查找所有端口信息(包括tcp和udp):
netstat -ano
2、查看所有TCP端口的信息 :
netstat -ano | findstr /c:"TCP"
3、查看指定TCP端口的信息:
netstat -ano | findstr /c:"TCP" | findstr ":812"
一、netstat:
1、查找所有端口信息(包括tcp和udp):
netstat -ano
2、查看所有TCP端口的信息 :
netstat -ano | findstr /c:"TCP"
3、查看指定TCP端口的信息:
netstat -ano | findstr /c:"TCP" | findstr ":812"