PHP error: No suitable servers found

The error message suggests that the driver can’t connect to a MongoDB instance locally, indicating that it isn’t running or isn’t accepting any connections. Please confirm that you can connect to that address via another method (e.g. mongo shell) and retry.

If this doesn’t work, enabling the debug log will help with diagnosing where exactly this goes wrong. To do so, you can change the mongodb.debug INI setting. Please make sure to redact any sensitive information (passwords, documents) contained in the debug log before sharing it in a public or semi-public forum.

1 Like