Run command-line as an Administrator
netstat -ano | findstr :<yourPortNumber>
This would show you a list like this:
In above screenshot you can see a row with word “LISTENING” and id 22344
Copy that id and run following command to kill that process id:
taskkill /PID <typeyourPIDhere> /F
No port is killed successfuly.