Hi @Anonymous Thank you for posting your Question on Microsoft Q&A.
Sorry to hear that you are facing an issue when creating a cosmos client from a python code in a local area network.
Python is the language on which the application is written, has nothing to do with the Emulator. The Emulator emulates the Cosmos DB backend. You can write your application in Python, C#, Java, NodeJS, that is the language of your application.
if you have multiple machines using a single network, and if you set up the emulator on one machine and want to access it from another machine. In such case, you need to enable access to the emulator on a local network.
You can run the emulator on a local network. To enable network access, specify the /AllowNetworkAccess option at the command-line, which also requires that you specify /Key=key_string or /KeyFile=file_name. You can use /GenKeyFile=file_name to generate a file with a random key upfront. Then you can pass that to /KeyFile=file_name or /Key=contents_of_file.
To enable network access for the first time, the user should shut down the emulator and delete the emulator's data directory %LOCALAPPDATA%\CosmosDBEmulator.
Let us know if you are still having issues.
Regards,
Oury