Test if a remote port is reachable https://superuser.com/questions/621870/test-if-a-port-on-a-remote-system-is-reachable-without-telnet