Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MongoError: server localhost:28017 sockets closed] #995

Closed
jameslin101 opened this issue Mar 12, 2016 · 1 comment
Closed

[MongoError: server localhost:28017 sockets closed] #995

jameslin101 opened this issue Mar 12, 2016 · 1 comment

Comments

@jameslin101
Copy link

Hi - I'm getting the following error when I'm trying to do a get from my local mongo db server.

ncaught internal server error. { [MongoError: server localhost:28017 sockets closed]
  name: 'MongoError',
  message: 'server localhost:28017 sockets closed' } MongoError: server localhost:28017 sockets closed
    at null.<anonymous> (/usr/local/lib/node_modules/parse-server/node_modules/mongodb-core/lib/topologies/server.js:418:49)
    at emitTwo (events.js:100:13)
    at emit (events.js:185:7)
    at null.<anonymous> (/usr/local/lib/node_modules/parse-server/node_modules/mongodb-core/lib/connection/pool.js:172:10)
    at g (events.js:273:16)
    at emitTwo (events.js:100:13)
    at emit (events.js:185:7)
    at Socket.<anonymous> (/usr/local/lib/node_modules/parse-server/node_modules/mongodb-core/lib/connection/connection.js:153:12)
    at Socket.g (events.js:273:16)
    at emitOne (events.js:90:13)
@jameslin101
Copy link
Author

sorry figured it out - worked if i ran mongod --httpinterface -rest -dbpath /data/db instead of mongodb-runner start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant