Detect User Port

Detect User Port

Open up cmd.exe (note: you may need to run it as an administrator, but this isn’t always necessary), then run the below command:

netstat -ano | findstr :<PORT>

taskkill /PID <PID> /F

Example : taskkill /PID 4 /F