how to kill all process running on a port code example
Example 1: cmd kill process on port
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
Example 2: kill all process at port
lsof -ti tcp:2525 | xargs kill
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
lsof -ti tcp:2525 | xargs kill