windows下找到哪个程序占用某个端口

netstat -ano | findstr 9000 

=》 找到PID,假设为PID为5700

tasklist | findstr 5700

=》 列出PID的程序

打开任务管理器

=》找到程序的路径

猜你喜欢

转载自heipark.iteye.com/blog/1495493