object(MongoDB\Driver\Exception\ConnectionTimeoutException)#13 (8) { ["message":protected]=> string(113) "No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling hello on '127.0.0.1:27017']" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(13053) ["file":protected]=> string(56) "/var/www/html2/vendor/mongodb/mongodb/src/Collection.php" ["line":protected]=> int(645) ["trace":"Exception":private]=> array(4) { [0]=> array(5) { ["file"]=> string(56) "/var/www/html2/vendor/mongodb/mongodb/src/Collection.php" ["line"]=> int(645) ["function"]=> string(12) "selectServer" ["class"]=> string(22) "MongoDB\Driver\Manager" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(553) ["function"]=> string(7) "findOne" ["class"]=> string(18) "MongoDB\Collection" ["type"]=> string(2) "->" } [2]=> array(3) { ["file"]=> string(26) "/var/www/html2/func/__main" ["line"]=> int(1930) ["function"]=> string(15) "setProgramParam" } [3]=> array(4) { ["file"]=> string(24) "/var/www/html2/index.php" ["line"]=> int(27) ["args"]=> array(1) { [0]=> string(26) "/var/www/html2/func/__main" } ["function"]=> string(7) "include" } } ["previous":"Exception":private]=> NULL ["errorLabels":protected]=> NULL } {"error":true,"message":"1"}