Getting error while connecting using Compass - getaddrinfo ENOTFOUND url

I am getting error - “getaddrinfo ENOTFOUND” when connecting using COMPASS

Hi @Khushboo_48558,

  1. Please make sure you have entered all the parameters correctly.

  2. Please make sure you are able to ping the cluster by running the command mentioned below in your terminal.


  3. You can confirm that port 27017 is not blocked by clicking on

On some occasions, even though the above mentioned tests passes, network/firewall is still a problem. So please make sure you are not connected to any VPN network and the firewall/antivirus is disabled. if it does not resolve the issue then try to connect from some other network such as your home network .

Hope it helps!

If the issue still persists please feel free to get back to us. Happy Learning :slight_smile:

Shubham Ranjan
Curriculum Support Engineer ?