1. View Port usage:
1. Start-run--cmd to enter the command prompt.
2. Enter Netstat-ano (or Netstat-nao) to See all processes (the PID of the process shown here) occupy the port.
3. In Task Manager, locate the process for this PID, and if there is no PID in Task Manager, you can select "View"-"Choose Column" in Task Manager.
2. See which processes occupy a port:
1. Start-run--cmd to enter the command prompt.
2. Enter Netstat-aon|findstr "8069".
Show Results:
TCP 127.0.0.1:8069 0.0.0.0:0 LISTENING 3536
As you can see, Port 8089 is occupied by processes with process number 3536.
3. View all processes involving the 3536 process number:
Input command:tasklist|findstr "3536"
Show Results:
Javaw.exe 3536 Console 0 81,772 K
The process of process number 3536 is javaw.exe.
In summary: Javaw.exe occupies port 8069.
How do I see how the local port is being consumed by the process?