node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/sgtlmsck/nikahregistry.in/admin/backend/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/sgtlmsck/nikahregistry.in/admin/backend/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/sgtlmsck/nikahregistry.in/admin/backend/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/sgtlmsck/nikahregistry.in/admin/backend/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237
    throw new MongooseError('The `uri` parameter to `openUri()` must be a ' +
          ^

MongooseError: The `uri` parameter to `openUri()` must be a string, got "undefined". Make sure the first parameter to `mongoose.connect()` or `mongoose.createConnection()` is a string.
    at NativeConnection.createClient (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js:237:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/connection.js:1075:34)
    at Mongoose.connect (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/backend/18/lib/node_modules/mongoose/lib/mongoose.js:450:15)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:60:10)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/sgtlmsck/nikahregistry.in/admin/backend/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/backend/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/sgtlmsck/nikahregistry.in/admin/backend/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/errors:496
    ErrorCaptureStackTrace(err);
    ^

Error: querySrv ENOTFOUND _mongodb._tcp.cluster.mongodb.net
    at QueryReqWrap.onresolve [as oncomplete] (node:internal/dns/promises:275:17) {
  errno: undefined,
  code: 'ENOTFOUND',
  syscall: 'querySrv',
  hostname: '_mongodb._tcp.cluster.mongodb.net'
}

Node.js v18.20.8
node:internal/modules/cjs/loader:1143
  throw err;
  ^

Error: Cannot find module 'express'
Require stack:
- /home/sgtlmsck/nikahregistry.in/admin/index.js
- /usr/local/lsws/fcgi-bin/lsnode.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
    at Module._load (node:internal/modules/cjs/loader:981:27)
    at Module.require (node:internal/modules/cjs/loader:1231:19)
    at require (node:internal/modules/helpers:177:18)
    at Object.<anonymous> (/home/sgtlmsck/nikahregistry.in/admin/index.js:1:17)
    at Module._compile (node:internal/modules/cjs/loader:1364:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    at Module.load (node:internal/modules/cjs/loader:1203:32)
    at Module._load (node:internal/modules/cjs/loader:1019:12)
    at Module.require (node:internal/modules/cjs/loader:1231:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/sgtlmsck/nikahregistry.in/admin/index.js',
    '/usr/local/lsws/fcgi-bin/lsnode.js'
  ]
}

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169
    err = new ServerSelectionError();
          ^

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
    at _handleConnectionErrors (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1100:11) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089890,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089890,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089889,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  cause: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089890,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089890,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067089889,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  }
}

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169
    err = new ServerSelectionError();
          ^

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
    at _handleConnectionErrors (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1100:11) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094944,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094945,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094944,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  cause: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094944,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094945,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067094944,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  }
}

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169
    err = new ServerSelectionError();
          ^

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
    at _handleConnectionErrors (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1100:11) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120994,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120993,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120993,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  cause: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120994,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120993,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067120993,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  }
}

Node.js v18.20.8
/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169
    err = new ServerSelectionError();
          ^

MongooseServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted. Make sure your current IP address is on your Atlas cluster's IP whitelist: https://www.mongodb.com/docs/atlas/security-whitelist/
    at _handleConnectionErrors (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1169:11)
    at NativeConnection.openUri (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/lib/connection.js:1100:11) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125921,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125921,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125920,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  cause: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-00.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125921,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.60:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-01.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125921,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.91:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      },
      'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017' => ServerDescription {
        address: 'ac-8wj6kt5-shard-00-02.8tqp05k.mongodb.net:27017',
        type: 'Unknown',
        hosts: [],
        passives: [],
        arbiters: [],
        tags: {},
        minWireVersion: 0,
        maxWireVersion: 0,
        roundTripTime: -1,
        minRoundTripTime: 0,
        lastUpdateTime: 31067125920,
        lastWriteDate: 0,
        error: MongoNetworkError: connect ECONNREFUSED 159.41.183.75:27017
            at TLSSocket.<anonymous> (/home/sgtlmsck/nodevenv/nikahregistry.in/admin/18/lib/node_modules/mongoose/node_modules/mongodb/lib/cmap/connect.js:286:44)
            at Object.onceWrapper (node:events:632:26)
            at TLSSocket.emit (node:events:517:28)
            at emitErrorNT (node:internal/streams/destroy:151:8)
            at emitErrorCloseNT (node:internal/streams/destroy:116:3)
            at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
          errorLabelSet: Set(1) { 'ResetPool' },
          beforeHandshake: false,
          [cause]: AggregateError
              at internalConnectMultiple (node:net:1114:18)
              at afterConnectMultiple (node:net:1601:5) {
            code: 'ECONNREFUSED',
            [errors]: [Array]
          }
        },
        topologyVersion: null,
        setName: null,
        setVersion: null,
        electionId: null,
        logicalSessionTimeoutMinutes: null,
        maxMessageSizeBytes: null,
        maxWriteBatchSize: null,
        maxBsonObjectSize: null,
        primary: null,
        me: null,
        '$clusterTime': null,
        iscryptd: false
      }
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-h6b2bh-shard-0',
    maxElectionId: null,
    maxSetVersion: null,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  }
}

Node.js v18.20.8
