Can not connect to compass

Hello,
i did not understand if i need srv record(on or off)
if srv record is off, I get the error: connect econnrefused 34.195.121.130: 27017
if serv record is on , error is folowing: querySrv ENOTFOUND _mongodb._tcp.cluster0-shard-00-00-jxeqq.mongodb.net

Hi @Nana_08979,

Please keep the SRV Record option off.

It might be due to some network related issue.

Can you please make sure you are able to ping the cluster?

ping cluster0-shard-00-00-jxeqq.mongodb.net

And also please verify that port 27017 is not blocked by clicking http://portquiz.net:27017

On some occasions, even though the above mentioned tests passes, network is still a problem. So please make sure you are not connected to any vpn and firewall/antivirus is disabled . You can also 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:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

It says:
Pinging ec2-34-195-121-130.compute-1.amazonaws.com [34.195.121.130] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 34.195.121.130:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
any ideas how to fix this problem?

Hi @Nana_08979,

This is a network issue. Are you trying to connect from your office network ?

If yes then please contact your IT department to see if there is a workaround or try to make the request from another location such as your home network.

Thanks,
Shubham Ranjan
Curriculum Support Engineer

yes, it s my office network, should i call to netadmin?

Hi @Nana_08979,

Yes, they might be able to help you out.

Thanks,
Shubham Ranjan
Curriculum Support Engineer