Last active
July 18, 2022 20:30
-
-
Save gregorriegler/19ee165888667085735936131188f8cd to your computer and use it in GitHub Desktop.
Windows kill process that blocks port
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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