Skip to content

Instantly share code, notes, and snippets.

@i-e-b
Created October 21, 2022 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i-e-b/6496b3b2f2c3561816e39234bad494d7 to your computer and use it in GitHub Desktop.
Save i-e-b/6496b3b2f2c3561816e39234bad494d7 to your computer and use it in GitHub Desktop.
Which process is calling out to a given IP

On Linux: lsof -PniTCP -r 1 | grep 1.2.3.4 On Windows: netstat -tabn 10 | find "1.2.3.4"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment