步骤/方法
开始-运行-输入cmd-打开命令行窗口
输入:netstat -aon|findstr "端口号" 如输入netstat -aon|findstr "1433",回车,有以下信息显示TCP 0.0.0.0:1433 0.0.0.0:0 LISTENING 1956 其中"1956"为占用"1433"端口的进程号
输入:tasklist|findstr "进程号" 如输入tasklist|findstr "1956",回车,有以下信息显示 sqlservr.exe 1956 Console 0 5,556 K 其中"sqlservr.exe"即占用"1433"端口的进程名