I am not able to connect to atlas mongo db.
Shared screen shot of error.
Hi @Pankaj_Kumar_Pandey and welcome in the MongoDB Community !
Can you connect from your current machine to this Atlas cluster?
Can you please double check your user & password and also double check that the IP address you are trying to connect from is correctly set in the IP Access List? You should have at least 2 as I guess you are not running Debezium locally ─ so this means you are connecting from another IP address.
I suspect you try to connect with the URI
rather than the seed list style
The DNS entry merchant-service.me2wy.mongodb.net is not an host is a replica set cluster seedlist address. If you want to connect with a mongodb:// URI you have to specify the hosts of your replica set. The hosts for your cluster are
;; QUESTION SECTION: ;_mongodb._tcp.merchant-service.me2wy.mongodb.net. IN ANY ;; ANSWER SECTION: _mongodb._tcp.merchant-service.me2wy.mongodb.net. 59 IN SRV 0 0 27017 merchant-service-shard-00-00.me2wy.mongodb.net. _mongodb._tcp.merchant-service.me2wy.mongodb.net. 59 IN SRV 0 0 27017 merchant-service-shard-00-01.me2wy.mongodb.net. _mongodb._tcp.merchant-service.me2wy.mongodb.net. 59 IN SRV 0 0 27017 merchant-service-shard-00-02.me2wy.mongodb.net.