将meteorjs应用程序连接到有错误的atlas mongodb无法找到有效的服务器

时间:2017-11-02 06:03:17

标签: meteor mongodb-atlas

我正在尝试将Meteor应用程序连接到Atlas MongoDB, 我按以下方式设置MONGO_URLMONGO_OPLOG_URL

MONGO_URL="mongodb://username:password@host:27017,host:27017,host:27017/databasename?ssl=true&replicaSet=melee-shard-0&authSource=admin"

MONGO_OPLOG_URL="mongodb://username:password@host:27017,host:27017,host:27017/local?ssl=true&replicaSet=melee-shard-0&authSource=admin"

但是,我在启动Meteor应用程序时遇到错误:

  

错误:找不到初始种子列表中的任何有效服务器

我做错了什么?

0 个答案:

没有答案
相关问题