How to kill process running on a particular 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 a port
kill $(lsof -ti:3000)
## check and kill used "ports"
netstat -ano | findstr :8080
taskkill /PID <yourid> /F
kill $(lsof -ti:3000)