windows 查看端口占用

 

netstat -ano  #查看所有正在使用的端口,注意stat没有e

netstat -ano | findstr 8080 #查看指定的端口,端口号引不引都行

找到pid,打开任务管理器,结束该pid对应的进程。

 

posted @ 2020-03-05 14:51  chy_18883701161  阅读(104)  评论(0编辑  收藏  举报