To see what ports are currently lessening on localhost open PowerShell Terminal and run this command:
netstat -aon | findstr "LISTE" | findstr /r "127.0.0.1 localhost :80"
/r
– stands for regular expression. Note that space within an expression are equivalent of standard |
which means OR.
Outputs:
To see what those processes are run this command:
Get-Process -Id (netstat -aon | findstr "LISTE" | findstr /r "127.0.0.1 localhost :80" | %{$_.Split()[-1]})
Outputs:
Kill specific PID manually
$ taskkill /PID <pid> /F
So if I would like to kill Postman Agent I would run:
taskkill /PID 10524 /F