Microsoft provides a great command line tool for querying whether remote port ranges are open. PortQry works for both UDP and TCP ports on remote hostnames or IPs. Keep in mind, built in tools like telnet only work over TCP.
Extract the files to an easily accessible location
open command prompt as admin and change your working directory to the easily accessible unzipped directory
the following command tests whether TCP port 80 is open at docloft.com host
portqry -n docloft.com-p tcp -e 80
the following command tests UDP port range 122 through 124 at the 1.pool.ntp.org host
portqry -n 1.pool.ntp.org -p udp -r 122:124
the following command tests TCP ports 80 through 81 at docloft.com host
portqry -n docloft.com-p tcp -r 80:81
This is useful for querying whether the necessary NTP ports (UDP 123) are open for time synchronization.
Additional information about the portqry utility is available here