I got a MongoDB instance running inside a container inside WSL2.
When I try to do a request in my browser at localhost:27017
it works even if it's display an error because I try to access to the db with a HTTP protocol.
But when I'm trying to access to my db from Compass with hostname localhost and port 27017, I got a timeout after 30000ms and I can't access to it.
Someone got an idea why, please ?