端口进程相关 Win10 端口 netstat -aon | findstr "端口号" 进程 根据进程号查看进程信息 tasklist|findstr "15560" taskkill /pid 15560 /f 成功: 已终止 PID 为 15560 的进程。 Linux 端口 netstat -anl | grep "端口号" netstat -anp | grep 8282 lsof -i:端口号 进程 ps -ef|grep 16923 查看该pid的进程的详细信息;