windows查看端口占用 win+R 输入 cmd 打开命令窗口 netstat -ano 列出所有端口情况 2.1) netstat -aon|findstr "2234" 查看2234端口占用的程序的pid 打开任务管理器 ctrl+alt+del 找到 pid 对应程序