Last active
February 22, 2018 03:17
-
-
Save teochengyong/cfe646cbe3f8f8d832903f4fe368eb56 to your computer and use it in GitHub Desktop.
Identify which services are running on the tcp post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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