Fill these in once
- See what's using the port
lsof -i :3000 - Stop it
kill -9 $(lsof -ti :3000)
- See what's using the portNeeds sudo
sudo lsof -i :3000 - Stop itNeeds sudo
sudo fuser -k 3000/tcp
- See what's using the port
Get-Process -Id (Get-NetTCPConnection -LocalPort 3000 -State Listen).OwningProcess - Stop it
Get-NetTCPConnection -LocalPort 3000 -State Listen | Select-Object -ExpandProperty OwningProcess -Unique | ForEach-Object { Stop-Process -Id $_ -Force }