mongodb could not connect to server

后端 未结 1 1776
無奈伤痛
無奈伤痛 2020-12-18 13:50

I\'m new to MongoDB. I\'m trying to connect to my remote mongo database from my work machine( I tried for both mongohq as well as mongolab). I\'m getting the error listed be

相关标签:
1条回答
  • 2020-12-18 14:07

    As per question comments, your mongo shell client can't connect to the mongo instance. Assuming that your internet connectivity is fine, the most common reason for the failure is that the ports are blocked on your network.

    Some ISPs automatically block these ports by default as an additional security protection for users that don't need them open. Contact your ISP or network admin, they should be able to help you out.

    0 讨论(0)
提交回复
热议问题