Skip to content

Instantly share code, notes, and snippets.

@teochengyong
Last active February 22, 2018 03:17
Show Gist options
  • Save teochengyong/cfe646cbe3f8f8d832903f4fe368eb56 to your computer and use it in GitHub Desktop.
Save teochengyong/cfe646cbe3f8f8d832903f4fe368eb56 to your computer and use it in GitHub Desktop.
Identify which services are running on the tcp post
#Command to check which services are running on that particular tcp port
sudo lsof -i tcp:4200
#kill the task
kill -9 {{pid}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment