how to kill process via the pid 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: kill a process with pid
kill -9 PID # kill -9 94228
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
kill -9 PID # kill -9 94228