Skip to content

Instantly share code, notes, and snippets.

@limcheekin
Created October 28, 2024 06:53
Show Gist options
  • Select an option

  • Save limcheekin/0c78bcef2c7a4d192bfdd3e29c1e6ccf to your computer and use it in GitHub Desktop.

Select an option

Save limcheekin/0c78bcef2c7a4d192bfdd3e29c1e6ccf to your computer and use it in GitHub Desktop.
Find detail of service running on given port and kill it
# 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