windows命令查看端口占用情况

打开cmd

查看端口占用情况:netstat -aon

查看PID对应的进程:tasklist /FI "PID eq 16948"

原文地址:https://www.cnblogs.com/stevenlxq/p/3252615.html