Start -- run -- cmd enter the command prompt and enter netstat-ano. Then you can see all connected PIDs and find the corresponding PID in the task manager.ProgramIf no PID exists in the task manager, select "View"-"Select column" in the task manager"
Often, when we start an application, we find that the ports required by the system are occupied by other programs. How do we know who owns the ports we need, next we will introduce a very simple method and hope it will be useful to you.
If we need to determine who is using port 80
1. Windows Platform
Run the following command in the Windows command line window:
C:/> netstat-Aon | findstr"80"
TCP 0.0.0.0: 80 0.0.0.0: 0 listening 1648
TCP 0.0.0.0: 81 0.0.0.0: 0 listening 1716
As you can see, the port is occupied by a process with the process number 1648. Continue to execute the following command:
C:/> tasklist | findstr"1648"
Apache.exe 1648 console 0 6,496 K
Obviously, Apache occupies your port.