0

I am trying to connect my NodeJs application with the CosmosDb emulator in localhost:

enter image description here

Since in my azure resouce group I am created a cosmodb instance of kind MongoDB

enter image description here

I am using the following connection string to test it in localhost:

mongodb://localhost:C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==@localhost:10255/admin?ssl=true

unfortunatelly seems that the connection string provided doesn't fit very well...

enter image description here

What I am doing wrong?

4

1 回答 1

4

Mongo URL 中的帐户密钥必须是 URL 编码的。我们应该在 Web UI 中为您执行此操作。我将在下一次数据浏览器更新中将此添加为要解决的问题。

于 2018-06-18T16:02:28.577 回答