kill process by pid number cmd code example
Example 1: cmd kill process by pid
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Example 2: cmd kill pid
taskkill /F /PID pid_number
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
taskkill /F /PID pid_number