Windows中根据端口号查询进程名

 

 

 

1、根据端口号来查询进程ID

netstat -ano | findstr "端口号"

 

2、根据进程ID来查询进程名

tasklist | findstr 进程ID

 



posted @ 2022-05-09 11:24  满Sir  阅读(1053)  评论(0编辑  收藏  举报