Skip to content

Instantly share code, notes, and snippets.

@javifm86
Created September 2, 2021 07:51
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 javifm86/b102139a3b7f57c631454a466b8da5af to your computer and use it in GitHub Desktop.
Save javifm86/b102139a3b7f57c631454a466b8da5af to your computer and use it in GitHub Desktop.
Kill port in windows
for /f "tokens=5" %%a in ('netstat -aon ^| find ":4500" ^| find "LISTENING"') do taskkill /f /pid %%a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment