venerdì 18 gennaio 2013

Visualizzare i Processi che Utilizzano una porta

Run the following command from a command prompt to find the PID of the process which is using TCP port 80 and/or 443. 

               netstat -aon | find ":80" 

               netstat -aon | find ":443"

You will see an output similar to the following. Remember the actual PID will vary from case to case. 

               TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       3604 

               TCP    0.0.0.0:443           0.0.0.0:0              LISTENING       3320

Now using Task Manager you can easily find out to which process the above PID belongs and take appropriate action. 



In order to get to know, or view, retrieve and identify the process ID or PID of the processes running in Windows operating system, users or administrators can make use of Task Manager. However, Task Manager does not display PID information by default. To display the PID value in Task Manager, go toProcesses tab, click on View menu, then click on Select Columns…. In the “Select Columns” or “Select Process Page Columns” dialog, tick and check the checkbox for PID (Process Identifier), and click OK.

Nessun commento: