Windows: netstat -aon | findstr '8080' powershell Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess