Check which application uses a TCP or UDP port

With PowerShell


$Port = 5037
Get-Process -Id (Get-NetTCPConnection -LocalPort $port).OwningProcess
Get-Process -Id (Get-NetUDPEndpoint -LocalPort $port).OwningProcess

Post a Comment

Previous Post Next Post