1

How can I connect to the DocumentDB emulator using the MongoDB API?

This SO post says it is possible.

I tried connecting using the well-know creds in MongoChef (here) but it times out!

I tried running DocumentDB.Emulator.exe /MongoPort=10250 from cmd too and it doesn't help!

2 Answers 2

3

Turns out MongoChef was stripping out the +s and replacing them for when copying the data from the URL. Works fine now.

Sign up to request clarification or add additional context in comments.

1 Comment

This was a lifesaver!
-1

You can also find detailed documentation about connecting with MongoChef at https://learn.microsoft.com/en-us/azure/documentdb/documentdb-mongodb-mongochef

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.