how to see open ports on my windows server code example Example: how to check for open ports in windows netstat -an