Error while connecting to MongoDB atlas , My IP is whitelisted and added 0.0.0.0 too

enter image description hereI am new to the backend and is learning it currently, I am facing a error. Here is the error

ERROR: mongodb+srv://dhruv:[email protected]/videotube 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 (C:UsersdhruvOneDriveDocumentsWeb dev pracBackend DevProfessional Backend setupnode_modulesmongooselibconnection.js:1110:11)
at NativeConnection.openUri (C:UsersdhruvOneDriveDocumentsWeb dev pracBackend DevProfessional Backend setupnode_modulesmongooselibconnection.js:1041:11)
at async connectDb (file:///C:/Users/dhruv/OneDrive/Documents/Web%20dev%20prac/Backend%20Dev/Professional%20Backend%20setup/src/db/index.js:8:31) {
reason: TopologyDescription {
type: ‘ReplicaSetNoPrimary’,
servers: Map(3) {
‘dhruvdeepchakravorty-shard-00-00.t7pt2.mongodb.net:27017’ => [ServerDescription],
‘dhruvdeepchakravorty-shard-00-02.t7pt2.mongodb.net:27017’ => [ServerDescription],
‘dhruvdeepchakravorty-shard-00-01.t7pt2.mongodb.net:27017’ => [ServerDescription]
},
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: ‘atlas-z5wloi-shard-0’,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}

import mongoose from "mongoose";
import { db_Name } from "../constants.js";


const connectDb= async()=>{
   
  try {
    const connectionInstance= await mongoose.connect(`${process.env.MONGODB_URI}/${db_Name}`)
    console.log(`n DB connected at host : ${connectionInstance.connection.host}`)
  } catch (error) {
    console.error(`ERROR: ${process.env.MONGODB_URI}/${db_Name}`,error);
    process.exit(1);
  }
}
import connectDb from "./db/index.js";
import dotenv from "dotenv";
dotenv.config({ path: './.env' });

connectDb();


My code is correct (I think so), how can i solve this ?
Please check photos for the code

  1. Was trying to connect to mongoDB atlas.
  2. my Ip is Whitelisted and i have also added 0.0.0.0/0 too in network access