You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 10, 2023. It is now read-only.
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)
The text was updated successfully, but these errors were encountered:
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
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)
The text was updated successfully, but these errors were encountered: