hey guys i am getting this error from last day please help
> nodemon index.js
[nodemon] 2.0.22
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node index.js`
server is fucked running sucessfulloy on port 8000
Error while connecting with the database 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/verma/medium1/server/node_modules/mongoose/lib/connection.js:792:11)
at NativeConnection.openUri (/home/verma/medium1/server/node_modules/mongoose/lib/connection.js:767:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Connection (file:///home/verma/medium1/server/database/db.js:12:9) {
reason: TopologyDescription {
type: 'ReplicaSetNoPrimary',
servers: Map(3) {
'ac-x7kmxhp-shard-00-00.mtsikj6.mongodb.net:27017' => [ServerDescription],
'ac-x7kmxhp-shard-00-01.mtsikj6.mongodb.net:27017' => [ServerDescription],
'ac-x7kmxhp-shard-00-02.mtsikj6.mongodb.net:27017' => [ServerDescription]
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: 'atlas-brwrks-shard-0',
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}