Answers for "kill a process running on port in windows through batch script"

5

kill process on port windows

netstat -ano | findstr "PORT_NUMBER"

taskkill /PID PORT_NUMBER /f
Posted by: Guest on June-09-2020
7

kill process running on port in windows

netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Posted by: Guest on June-12-2020

Code answers related to "kill a process running on port in windows through batch script"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language