I am creating a MERN stack app. Right now I need to get the MongoDB server IP. They suggest using nslookup tools to get the IP address. Can anyone suggest me how to do that? What thing should be added after nslookup?
CodePudding user response:
You have to add your mongodb server cluster URI after it.
Example:
nslookup ds-shard-00-00-17jcm.mongodb-dev.net
Here is more information: https://www.mongodb.com/docs/atlas/reference/faq/networking/