1.Windows查看所有的端口 netstat -nao|more 2.查询指定的端口占用 语法 netstat -aon|findstr "提示的端口", 如 netstat -nao|findstr 10050|more 3.查询PID对应的进程 在上面步骤之后,我们得到的PID为5220,那么我们就可以输入命令【tasklist|findstr "5220"】,如下图 相关文章: 2021-12-28 2021-11-23 2021-11-03 2022-12-23 2021-11-01