kill open ports windoes code example
Example 1: remove port binding windows
netstat -a -n -o | findstr :80
TaskKill /PID pidnum
Example 2: how to shutdown port in windows
netstat -ano | findstr < Port Number >
taskkill /F /PID < Process Id >