windows get open ports of ip code example Example: how to check for open ports in windows netstat -an