Unable to connect to server

Hi, I am trying to connect to host: cluster0-shard-00-00-jxeqq.mongodb.net and port: 27017 but it is giving me an error as MongoDB not running on provided host and port.
Can anyone help ?

Hi, check first if your connection needs a proxy to navigate.

I think proxy is working fine , below is the response I got when i tried http://portquiz.net:27017/:

Outgoing port tester

This server listens on all TCP ports, allowing you to test any outbound TCP port.

You have reached this page on port 27017 .

Your network allows you to use this port. (Assuming that your network is not doing advanced traffic filtering.)

Network service: unknown
Your outgoing IP:

and when http://cluster0-shard-00-00-jxeqq.mongodb.net:27017/ response is :
It looks like you are trying to access MongoDB over HTTP on the native driver port.


Check your firewall too

I recommend that you carefully read the following content that could help you.

Hi @Ravi_20186,

Can you please make sure you are not connected to any VPN network and the firewall/anti-virus is not blocking connection request to/from your local network ?

If this is the case then please try connecting from a different location, such as a home or internet cafe network.

Hope it helps!

Shubham Ranjan
Curriculum Support Engineer