This script can be useful for checking outgoing connections on different ports and in general. If the error "is not responding" appears for all ports, then you should check
results anti-virus scan for detected viruses.
To check availability outgoing ports, can run a script like this:
<?php
$host = 'portquiz.net';
$ports = array(80, 443, 465, 587);
foreach ($ports as $port) {
} else {
$result = ' is not responding';
}
print($host . ': ' . $port . $result . '<br>');
}