Every application communicating over a network relies on a specific transport layer protocol—primarily (Transmission Control Protocol) or UDP (User Datagram Protocol)—and a specific assigned numerical address known as a port.
If you see a PID holding a port open and need to know exactly what program it is, you can combine commands to reveal the application name: powershell windows 11 open ports
Get-NetTCPConnection -State Listen | Select-Object LocalAddress,LocalPort,OwningProcess | Sort-Object LocalPort Use code with caution. Every application communicating over a network relies on
PowerShell provides highly object-oriented outputs that integrate seamlessly with other administrative tools. windows 11 open ports