Recibo un error al intentar conectarme a mi base de datos MongoDB. Este es el repositorio .
Este es el error que recibo al ejecutar el código:
MongoServerSelectionError: connection <monitor> to 52.20.9.178:27017 closed at Timeout._onTimeout (C:\Users\PC\Downloads\SkyCrypt-development\SkyCrypt-development\node_modules\mongodb\lib\sdam\topology.js:306:38) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { reason: TopologyDescription { type: 'Unknown', servers: Map(1) { 'cluster0-shard-00-00.kx9xv.mongodb.net:27017' => ServerDescription { _hostAddress: HostAddress { isIPv6: false, host: 'cluster0-shard-00-00.kx9xv.mongodb.net', port: 27017 }, address: 'cluster0-shard-00-00.kx9xv.mongodb.net:27017', type: 'Unknown', hosts: [], passives: [], arbiters: [], tags: {}, minWireVersion: 0, maxWireVersion: 0, roundTripTime: -1, lastUpdateTime: 7396352, lastWriteDate: 0, error: MongoNetworkError: connection <monitor> to 52.20.9.178:27017 closed at Connection.onClose (C:\Users\PC\Downloads\SkyCrypt-development\SkyCrypt-development\node_modules\mongodb\lib\cmap\connection.js:138:19) at Socket.<anonymous> (C:\Users\PC\Downloads\SkyCrypt-development\SkyCrypt-development\node_modules\mongodb\lib\cmap\connection.js:65:46) at Socket.emit (node:events:527:28) at TCP.<anonymous> (node:net:709:12) { [Symbol(errorLabels)]: Set(0) {} } } }, stale: false, compatible: true, heartbeatFrequencyMS: 10000, localThresholdMS: 15, logicalSessionTimeoutMinutes: undefined }, code: undefined, [Symbol(errorLabels)]: Set(0) {} }Intenté incluir en la lista blanca mi IP y otras cosas y todavía no funciona. ¿Alguien me puede ayudar a arreglar esto?