Created
October 28, 2024 06:53
-
-
Save limcheekin/0c78bcef2c7a4d192bfdd3e29c1e6ccf to your computer and use it in GitHub Desktop.
Find detail of service running on given port and kill it
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
| # find info of service running in port 8882 | |
| lsof -i:8882 | |
| # kill it | |
| kill $(lsof -t -i:8882) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment