Getaddrinfo ENOTFOUND telnet telnet:27017

Hello, I’m getting this error while connecting to the host.
getaddrinfo ENOTFOUND telnet telnet:27017

I’m using port 27017. I’m a beginner here.

Please assist

Hi @RASHMI_65292,

It looks like a network issue.

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

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

You can confirm 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 any 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

Hello,

It is working now. Thanks

Hello Sir,
I am getting this error:: getaddrinfo ENOTFOUND cluster0-shard-00-00-jxeqq-mongodb.net cluster0-shard-00-00-jxeqq-mongodb.net:27017
Kindly help

Hi @Anthony_Mulweye,

I have already responded to you on this post. Please check and let me know if it was helpful.

Thanks,
Shubham Ranjan
Curriculum Support Engineer