Check to see if a server can connect to a port on a remote host (windows)

If you have an application actively trying to connect (Symantec client is running, for instance) you can check its connection status with something like

exists sockets whose (remote port of it = 443 and established of tcp states of it and exists remote address whose (it as string = "192.168.1.1") of it) of network
3 Likes