Find the listener
**Get-NetTCPConnection** shows the local address, the port and the owning PID. Filter by state first, because a port in TIME_WAIT is not the same problem as a listener.
Get-NetTCPConnection -State Listen | Sort-Object LocalPort |
Select-Object LocalAddress,LocalPort,OwningProcess | Format-Table -AutoSize