Check open for an open port

From a Windows powershell terminal

Test-NetConnection -ComputerName name/ip-here -Port port-number-here

in the above just change name/ip-here to the name or ip of what you are testing then change port-number-here to the port number you need to check.

Test-NetConnection -ComputerName 8.8.8.8 -Port 53

The above example is checking if TCP/IP port 53 (DNS) is open on the IP address 8.8.8.8 (google DNS server) the result is shown below