cmd命令窗口,查询端口所在PID: netstat -aon|findstr "端口号", 之后输入PID查看对应程序: tasklist|findstr "PID" 就可以继续接下来的操作了,关掉占用端口等。