79298323

Date: 2024-12-20 20:23:33
Score: 1.5
Natty:
Report link

I was able to connect to a container from the host machine using the following string:

mongodb://127.0.0.1:27017/?authSource=admin&readPreference=primaryPreferred&retryWrites=false&directConnection=true

the directConnection=true is what helped me. Hope this helps you.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: donB