'Facing issue to connect mongodb and mongoexpress using docker?

[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. Mongo Express server listening at http://0.0.0.0:8081 Server is open to allow connections from anyone (0.0.0.0) basicAuth credentials are "admin:pass", it is recommended you change this in your config.js!

enter image description here



Solution 1:[1]

Apparently, mongodb-express in docker's latest release doesn't have server status, but 0.54.0 had it.

Try: docker pull mongo-express:0.54.0

And then remember to use mongo-express:0.54.0 for whatever you're doing later.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shallon Kobusinge