Windows 端口和任务 查看 相关命令

netstat -aon|findstr "8001"        //查看端口
tasklist|findstr "15312"        //根据PID找到对应的程序
taskkill /f /t /im netbox.dll        //强制终止程序
原文地址:https://www.cnblogs.com/lwngreat/p/4776663.html