Skip to content

Instantly share code, notes, and snippets.

@lzehrung
Last active August 28, 2024 15:57
Show Gist options
  • Save lzehrung/f83d0ea41c8baf45003dffa7b39fcdd6 to your computer and use it in GitHub Desktop.
Save lzehrung/f83d0ea41c8baf45003dffa7b39fcdd6 to your computer and use it in GitHub Desktop.
Get Process Using Port

Windows:

netstat -aon | findstr '8080'

powershell Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess

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