how to search a process and kill it in windows code example
Example 1: kill process cmd
netstat -ano | findstr :3000
taskkill /PID "123" /F
Example 2: cmd kill pid
taskkill /F /PID pid_number
netstat -ano | findstr :3000
taskkill /PID "123" /F
taskkill /F /PID pid_number