hallowed-ocean-84954
01/09/2023, 1:43 AMGet-NetTCPConnection | where Localport -eq 6001 | select Localport,OwningProcess
Localport OwningProcess
--------- -------------
6001 33796
and then take the owning process id and do:
Get-Process -id 33796
NPM(K) PM(M) WS(M) CPU(s) Id SI ProcessName
------ ----- ----- ------ -- -- -----------
41 48.51 9.86 272.28 33796 1 Code
port 6001 is what vscode uses with hashlink but whatever port it runs on just substitute that