kill all server windows 10 code example
Example: close all localhost connections
netstat -ano | findstr :yourPortNumber
taskkill /PID typeyourPIDhere /F
netstat -ano | findstr :yourPortNumber
taskkill /PID typeyourPIDhere /F