[SOLVED] [WARNING]: fsockopen(): unable to connect to localhost:22 (Connection refused)

Hello,

I review my log; freepbx_dbug, and see couple of strange things :

Numeros of time :
2013-Jan-22 01:29:56 /var/www/html/admin/modules/dashboard/class.procinfo.php:13
[WARNING]: fsockopen(): unable to connect to localhost:22 (Connection refused)

while this class is :
class procinfo {
var $distro;

    function procinfo($distro = false) {
            $this->distro = $distro;
    }

    function check_port($port, $server = "localhost") {
            $timeout = 5;
            if ($sock = @fsockopen($server, $port, $errno, $errstr, $timeout)) {
                    fclose($sock);
                    return true;
            }
            return false;
    }

I’m concern, what does it mean ?

Thank you

Did you change the default port of SSHD?

I assume the SSH button is red on the dashboard?

you’re 100% right
I should post after midnight, gremlin’s question

Thank you