windows 查看被占用的端口信息

  • 如何查询

1.使用命令:netstat -aon|findstr "8080" 查询被占用的端口的进程 PID

2.使用命令:tasklist | findstr "15960" 查看 PID 进程对应的应用名称

原文地址:https://www.cnblogs.com/gaofangye/p/12576821.html