windows 7 how to close a netstat listening ports 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
findstr :8080
netstat -a -n -o | findstr :80
TaskKill /PID pidnum
findstr :8080