Skip to content

Instantly share code, notes, and snippets.

@xiaomi7732
Last active September 28, 2022 18:05
Show Gist options
  • Save xiaomi7732/ff189df803f1193db39d5be646b34b0f to your computer and use it in GitHub Desktop.
Save xiaomi7732/ff189df803f1193db39d5be646b34b0f to your computer and use it in GitHub Desktop.
How to find out which port is taken by which process on Windows

Known port

netstat -ano | findstr <port>

List all active port

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