How can we improve Azure Cosmos DB?

Select network interface for Cosmos DB emulator to allow network access

When the client SDK connects to the emulator it connects to the URL https://<myemulator DNS>:8081/.

The emulator returns back the writeableLocations and the readableLocations in the JSON response and these URIs are used for subsequent access. It appears that the IP address returned are the first in the list of LAN network interfaces (e.g. in IPCONFIG). If you have multiple IP addresses (for example you have a DockerNAT virtual switch installed) then it might not be the best IP Address returned to allow network access.

Why am I connecting to my emulator across the network you might ask? I'm not doing Production work, but I am trying to test Linux connections to the emulator in order to test the Linux implementation of the V3 dotnetcore SDK.

1 vote
Vote
Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
You have left! (?) (thinking…)
Andrew Potts shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Sign in with: oidc
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base