for linux $ lsof -i tcp:3000 $ kill -9 PID the first command should give you the PID number to enter in the second command as PID.