Skip to content
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.

Error: failed to connect #9

Open
diwalker opened this issue Jun 1, 2018 · 1 comment
Open

Error: failed to connect #9

diwalker opened this issue Jun 1, 2018 · 1 comment

Comments

@diwalker
Copy link

diwalker commented Jun 1, 2018

Mongo running normally, but when I run npm start in the folder, this error appears just below, and http: // localhost: 6868 does not open, but the mongo is running. I'd like some help to find out why.

npm start

[email protected] start /home/dking/Documentos/HubTaxi-Server
node server

connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
connection error: Error: failed to connect to [localhost:27017]
at exports.ConnectionPool. (/home/dking/Documentos/HubTaxi-Server/node_modules/mongodb/lib/mongodb/connection/server.js:540:25)
at exports.ConnectionPool.emit (events.js:182:13)
at exports.ConnectionPool.EventEmitter.emit (domain.js:442:20)
at exports.Connection. (/home/dking/Documentos/HubTaxi-Server/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:140:15)
at exports.Connection.emit (events.js:182:13)
at exports.Connection.EventEmitter.emit (domain.js:442:20)
at Socket. (/home/dking/Documentos/HubTaxi-Server/node_modules/mongodb/lib/mongodb/connection/connection.js:478:10)
at Socket.emit (events.js:182:13)
at Socket.EventEmitter.emit (domain.js:442:20)
at emitErrorNT (internal/streams/destroy.js:82:8)

@Sphinix1
Copy link

were you able to resolve this
same issue here
'

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

No branches or pull requests

2 participants