Skip to content

Instantly share code, notes, and snippets.

@malkitsingh
Created April 15, 2017 07:42
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 malkitsingh/edd9bb631e11191b0e1b80cda6b7d2c2 to your computer and use it in GitHub Desktop.
Save malkitsingh/edd9bb631e11191b0e1b80cda6b7d2c2 to your computer and use it in GitHub Desktop.
checking port in use and killing active process
For windows
first, find process id using his port
netstat -a -n -o | find "123456"
then, kill the process by id
taskkill /F /PID 3312
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment