How do I find out which process is listening on a TCP or UDP port on Windows? [closed]
New answer, powershell TCP Get-Process -Id (Get-NetTCPConnection -LocalPort YourPortNumberHere).OwningProcess UDP Get-Process -Id (Get-NetUDPEndpoint -LocalPort YourPortNumberHere).OwningProcess Old answer, cmd C:\> netstat -a -b (Add -n to stop it trying to resolve hostnames, which will make it a lot faster.) Note Dane’s recommendation for TCPView. It looks very useful! -a Displays all connections and listening ports. -b … Read more