Skip to content

Instantly share code, notes, and snippets.

@benmacleod
Created October 20, 2011 04:26
Show Gist options
  • Save benmacleod/1300414 to your computer and use it in GitHub Desktop.
Save benmacleod/1300414 to your computer and use it in GitHub Desktop.
Kill your rogue Rails server so you can start another
# Assuming it's running on port 3000
kill -9 `lsof -i :3000|awk 'NR > 1 {print $2}' -|uniq`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment