Error Installing Cockpit on Shared Hosting + MongoDB

Hi There!

I love Cockpit because it’s easy to use and the interface is neat!

I’m installing cockpit on shared hosting with MongoDB and there is error as follow

**Fatal error** : Uncaught MongoDB\Driver\Exception\ConnectionTimeoutException: No servers yet eligible for rescan in /home/cockpit/public_html/_test/lib/vendor/mongodb/mongodb/src/Collection.php:890 Stack trace: #0 /home/cockpit/public_html/_test/lib/vendor/mongodb/mongodb/src/Collection.php(890): MongoDB\Driver\Manager->selectServer(Object(MongoDB\Driver\ReadPreference)) #1 /home/cockpit/public_html/_test/lib/MongoHybrid/Mongo.php(123): MongoDB\Collection->insertOne(Array) #2 /home/cockpit/public_html/_test/lib/MongoHybrid/Client.php(48): MongoHybrid\Mongo->insert('cockpit/account...', Array) #3 /home/cockpit/public_html/_test/install/index.php(87): MongoHybrid\Client->insert('cockpit/account...', Array) #4 {main} thrown in  **/home/cockpit/public_html/_test/lib/vendor/mongodb/mongodb/src/Collection.php**  on line  **890**

I’ve asked hosting provider to install MongoDB extension for PHP
I’ve checked that the MongoDB instances can be accessed remotely

Any thoughts about this?

It turns out that the hosting provider block outgoing port to my MongoDB server.