command to close ports code example Example: remove port binding windows netstat -a -n -o | findstr :80 TaskKill /PID pidnum