kill java port in windows code example Example: port already in use windows 10 netstat -ano | findstr :3001 taskkill /PID <yourid> /F