Windows Command:
1: check the process occupying the PortNumer, return PID. can kill the process using task manager once you know PID.
C:\> netstat -aon | findstr "PortNumer"2: list the process name according to PID, return process detailed information. can kill the process using task manager once you know Process name.
C:\>tasklist | findstr "PID"
3: kill the process base on ProcessName
C:\>taskkill /f /t /im ProcessName.exe