How to Kill a windows process

This is the command

1
netstat -aon |find /i "listening" |find "8080"

TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6120 TCP [::]:8080 [::]:0 LISTENING 6120

1
taskkill /F /PID 6120