Step 1: netstat -ano | findstr :yourPortNumber Change in Step 2 to: tskill typeyourPIDhere Note: taskkill is not working in some git bash terminal