Check which ports are being used by which process
To check which ports are in use by which process , we can use netstat command
Open Command prompt with admin privilege and type below command
netstat -anob
Output will be as shown below.
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 1152
RpcSs
[svchost.exe]
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
Can not obtain ownership information
TCP 0.0.0.0:808 0.0.0.0:0 LISTENING 4172
[OneApp.IGCC.WinService.exe]
TCP 0.0.0.0:5040 0.0.0.0:0 LISTENING 6752
CDPSvc
[svchost.exe]
TCP 0.0.0.0:49664 0.0.0.0:0 LISTENING 1012
[lsass.exe]
.......