第一步:打开cmd命令窗口
第二步:输入 netstat -ano命令
第三步:看到上图,找到相对应的pid 在命令窗口使用 tasklist|findstr "1008" 定位对应的程序
使用windows命令快速定位占用端口程序
原文:https://www.cnblogs.com/fogwang/p/11137195.html