command to ping a port windows 10 code example Example: ping a port windows telnet <ip_address> <port_number>