How to know which process use the port you wanted?

One day,  of course in month october 2011, i  want to start  a server, but it told me that some process has occupancy it. so i  want to know  whick process !

There two step:

1.use the port.
netstat -ano | findstr "port" 

you can get the pid .

2.use the pid

tasklist | findstr "pid"

you can get whick process occupancy  the port

 

use the method above, i get result:

tnslsnr.exe  8080  :  oracle use it to listen other access

FrameworkService.exe 8081 :  McAfee use it  receive  new update

 

posted on 2011-10-26 12:43  子虚乌有  阅读(208)  评论(0)    收藏  举报