首页 » Windows下查看tcp端口占用、会话命令

Windows下查看tcp端口占用、会话命令

2021-09-10 cesii 401

查看所有端口占用情况

使用.netstat

查看某一端口占用情况

.netstat -ano | findstr “8080”

查看有效会话(TIME_WAIT)数量

.netstat -ano |find “TIME_WAIT” /c,其他会话如:CLOSE_TIME/ESTABLISHED替换前面的TIME_WAIT即可

查看可用端口数量

.netsh int ipv4 show dynamicportrange tcp

查看当前ip的某一端口数量

.netstat -an |find “172.0.0.1:80” /c

评论列表

表情
😀😂 👍😕 🙄 😁☺️ 😮🥺 💯 🙂🙂 🫡😉