Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Created February 24, 2024 18:36
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 Inkimar/b7f7a0753397ca9a98875e42849b004c to your computer and use it in GitHub Desktop.
Save Inkimar/b7f7a0753397ca9a98875e42849b004c to your computer and use it in GitHub Desktop.
Windows, powershell, PS, find port 8080 and kill it (netstat, taskkill,PID)
FIND IT:
PS C:\Windows\System32\WindowsPowerShell\v1.0> netstat -aon | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 15552
TCP 127.0.0.1:8080 127.0.0.1:50164 TIME_WAIT 0
KILL IT:
PS C:\Windows\System32\WindowsPowerShell\v1.0> taskkill /PID 15552 /F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment