Windows: netstat -ano | findstr :<PORT> #see which one is has the correct port number, then the pid needed is the rightmost value. taskkill /PID <PID> /F