how to check specific port being used in window code example
Example 1: cmd listening ports
C:\> netstat -a -b
Example 2: cmd listening ports
Get-Process -Id (Get-NetTCPConnection -LocalPort YourPortNumberHere).OwningProcess
C:\> netstat -a -b
Get-Process -Id (Get-NetTCPConnection -LocalPort YourPortNumberHere).OwningProcess