HubTaxi-Server icon indicating copy to clipboard operation
HubTaxi-Server copied to clipboard

Error: failed to connect

Open diwalker opened this issue 6 years ago • 1 comments

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)

diwalker avatar Jun 01 '18 13:06 diwalker

were you able to resolve this same issue here '

Sphinix1 avatar Aug 20 '18 12:08 Sphinix1