shut down a port windows code example
Example 1: remove port binding windows
netstat -a -n -o | findstr :80
TaskKill /PID pidnum
Example 2: stop kill network connection using cmd line
"tokens=4 delims= "
netstat -a -n -o | findstr :80
TaskKill /PID pidnum
"tokens=4 delims= "