Fatal error: Uncaught MongoDB\Driver\Exception\ConnectionTimeoutException: No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling ismaster on 'localhost:27017'] in /egcneitServer/vendor/mongodb/mongodb/src/functions.php:431
Stack trace:
#0 /egcneitServer/vendor/mongodb/mongodb/src/functions.php(431): MongoDB\Driver\Manager->selectServer(Object(MongoDB\Driver\ReadPreference))
#1 /egcneitServer/vendor/mongodb/mongodb/src/Collection.php(684): MongoDB\select_server(Object(MongoDB\Driver\Manager), Array)
#2 /egcneitServer/index.php(121): MongoDB\Collection->findOne(Array)
#3 {main}
thrown in /egcneitServer/vendor/mongodb/mongodb/src/functions.php on line 431