Skip to content

Instantly share code, notes, and snippets.

@happyrobots
Created July 23, 2011 05:18
Show Gist options
  • Select an option

  • Save happyrobots/1101053 to your computer and use it in GitHub Desktop.

Select an option

Save happyrobots/1101053 to your computer and use it in GitHub Desktop.
kill process occupying on port
lsof -w -n -i tcp:3000
fuser -n tcp 3000
netstat -anp|grep :3000[[:blank:]]
kill -9 pidnumber
@mohsan-ab
Copy link

fuser -n tcp -k 3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment