I am using mongo via Docker in a Node application. Able to connect to mongo directly if I use the following connection String.
mongodb://root:example@localhost