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.
Andrew Potts commented
I believe this issue has gone away with subsequent updates to the emulator. You may close this issue. Thank you!