【问题标题】:Heroku Parse Server - MongoError: failed to connect to serverHeroku Parse Server - MongoError:无法连接到服务器
【发布时间】:2017-04-10 10:38:14
【问题描述】:

当我访问 Parse 仪表板时,我看不到“浏览器”选项卡下的“用户”选项。此外,在错误日志下,它说它无法连接到服务器。谁能帮帮我?

这是堆栈跟踪:

Error generating response. { MongoError: failed to connect to server [localhost:27017] on first connect
    at Pool.<anonymous> (/app/node_modules/mongodb-core/lib/topologies/server.js:313:35)
    at emitOne (events.js:96:13)
    at Pool.emit (events.js:188:7)
    at Connection.<anonymous> (/app/node_modules/mongodb-core/lib/connection/pool.js:260:12)
    at Connection.g (events.js:291:16)
    at emitTwo (events.js:106:13)
    at Connection.emit (events.js:191:7)
    at Socket.<anonymous> (/app/node_modules/mongodb-core/lib/connection/connection.js:162:49)
    at Socket.g (events.js:291:16)
    at emitOne (events.js:96:13)   name: 'MongoError',   message: 'failed to connect to server [localhost:27017] on first connect' }

【问题讨论】:

  • 你的 mongod 运行了吗?

标签: mongodb heroku parse-platform


【解决方案1】:

试试

“sudo 服务 mongodb 启动”

然后检查它..

【讨论】:

    猜你喜欢
    • 2017-02-12
    • 2017-11-10
    • 1970-01-01
    • 2017-04-24
    • 1970-01-01
    • 2018-11-06
    • 1970-01-01
    • 2017-10-26
    相关资源
    最近更新 更多