Run command-line as an Administrator. Then run the below mention command. type your port number in your port number
*Step 1*
netstat -ano | findstr :<yourPortNumber>
[![enter image description here][1]][1]
Red colored circled area shows the PID (process identifier)
*Step 2*
Then you execute this command after identifying the PID.
taskkill /PID <typeyourPIDhere> /F
[![enter image description here][2]][2]
>P.S. Run the first command again to check if the process is still available or not. You'll get an empty line if the process is successfully ended.
[1]: https://i.stack.imgur.com/KQKtN.jpg
[2]: https://i.stack.imgur.com/KDrfw.jpg
**Step 1**
Run command-line as an Administrator. Then run the below mention command.
type your port number in **yourPortNumber**
> netstat -ano | findstr :**yourPortNumber**
![][1]
Red coloured circled area shows the PID (process identifier)
**Step 2**
Then you execute this command after identify the PID.
> taskkill /PID **typeyourPIDhere** /F
![][2]
[1]: http://i.stack.imgur.com/lEpCZ.png
[2]: http://i.stack.imgur.com/8k64x.png
P.S. Run the first command again to check if process is still available or not. You'll get empty line if process is successfully ended.