1. First, declare that the PID is not the port ID, but rather the meaning of the process ID session number.
2. So, what is the process number?
The idea of collecting netizens is:
The process number is the unique identifier of the system assigned to a process. PID is the identity identifier of each process, and the program run system will automatically assign to the process a unique PID. After the process terminates, the PID is reclaimed by the system and may be continued to the new running program.
3. In-depth understanding of the relationship between:
A program one port;
A port can have multiple processes;
(Incidentally: a process can have multiple threads (sharing the system resources of a process to a multi-channel program within a program, running in parallel to conserve CPU resources, etc.))
Generally, a program corresponds to a process.
In general, browsers are multiple processes, and other programs are a process.
How to view PID and port number in 4.windows system?
View PID:
Ans1. Cmd>netstat-ano
Ans2. Cmd>tasklist
Ans2.ctrl+shift+esc (Task Manager) > Services
To view the PID and port:
Ans1:cmd>netstat-ano
5. Summary:
One network application corresponds to one port, one to multiple processes, and one to multiple threads;
Process ID) [link to Port ID] [Id[pid]