I’m running mongodb instance in docker:
docker run --name mongodb -d -p 27017:27017 mongo
When I try to connect to the instance from Compass
Compass fail to connect with error
connection <monitor> to 127.0.0.1:27017 closed. but I can connect to the db from my nodejs running on host.