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