Windows command to kill a process by pid code example
Example 1: cmd kill process by pid
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Example 2: kill process in win by pid
kill task by pid
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
kill task by pid