In docker Container Mongo-express is unable to connect-- Port 8081 is open Logs are here

Viewed 15

Welcome to mongo-express

(node:8) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor. (node:8) UnhandledPromiseRejectionWarning: MongoError: command listDatabases requires authentication at Connection. (/node_modules/mongodb/lib/core/connection/pool.js:453:61) at Connection.emit (events.js:314:20) at processMessage (/node_modules/mongodb/lib/core/connection/connection.js:456:10) at Socket. (/node_modules/mongodb/lib/core/connection/connection.js:625:15) at Socket.emit (events.js:314:20) at addChunk (_stream_readable.js:297:12) at readableAddChunk (_stream_readable.js:272:9) at Socket.Readable.push (_stream_readable.js:213:10) at TCP.onStreamRead (internal/stream_base_commons.js:188:23) (node:8) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:8) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

0 Answers
Related