# It gives PID of the service netstat -ano | findstr :<Port> # Kill the process using PID taskkill /PID <PID> /F