
1、PID号:在“任务管理器”→“选择选“PID”即可;
https://imgcdn.idongde.com/qa/2020/07/09/11/1594263861629068
https://imgcdn.idongde.com/qa/2020/07/09/11/1594263861439398
2、在CMD中占用的端口;
这里,以查看svchost进程所占用的端口号为例:
https://imgcdn.idongde.com/qa/2020/07/09/11/1594263861136066
https://imgcdn.idongde.com/qa/2020/07/09/11/1594263861685758
可以看到svchost这个进程所占用的端口号是135端口。