top of page

Check which ports are being used by which process

To check which ports are in use by which process , we can use netstat command


  1. 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]

.......

689 views0 comments

Recent Posts

See All

Problem: End users who are connected to pci vdi are getting popup "Broker session timeout" and user getting logged off forcefully and vdi gets shutdown. Solution: If user gets logged off forcefully an

bottom of page