Skip to content

Instantly share code, notes, and snippets.

@gregorriegler
Last active July 18, 2022 20:30
Show Gist options
  • Save gregorriegler/19ee165888667085735936131188f8cd to your computer and use it in GitHub Desktop.
Save gregorriegler/19ee165888667085735936131188f8cd to your computer and use it in GitHub Desktop.
Windows kill process that blocks port
# find pid that blocks the port
netstat -ano | findstr :<PORT>
# find name of that process
tasklist | findstr '<PID>
# kill the process
taskkill /PID <PID> /F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment