matar puerto
sudo kill -9 `sudo lsof -t -i:9001`
Duck Duck Go-ogle
sudo kill -9 `sudo lsof -t -i:9001`
npx kill-port 3000
kill -9 $(sudo lsof -t -i:8080)
npx kill-port 8080
sudo kill -9 $(sudo lsof -t -i:8080)
kill -9 $(lsof -t -i tcp:8080)
// Option 1: if you have [email protected]^ version
npx kill-port 8080
// Linux
kill -9 $(lsof -t -i tcp:8080)
// Windows command line:
for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a
// Windows bat-file:
for /f "tokens=5" %%a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %%a
sudo kill -9 $(lsof -i :3000 -t)
# Print PID of process bound on that port.
fuser 8080/tcp
# Kill that process
fuser -k 8080/tcp
netstat -aon | findstr 8080
taskkill /f /pid 77777