Network access on Azure CosmosDB Emulator not working

KasperSommer 10 Reputation points
2023-02-13T01:25:27.3366667+00:00

Hi,

I want to run the Azure Cosmos DB Emulator on Mac Parallels from Windows 11. The server installs and runs fine in Windows, however from the Mac environment I only get ERR_CONNECTION_REFUSED.

I have the Windows Firewall completely disabled. I have the variables /AllowNetworkAccess /KeyFile=Cosmos_keyFile.

I have tried running an Angular server on port 4200 which I can connect to. I have then tried running the Cosmos Emulator on port 4200 (/Port=4200) but immediately I get ERR_CONNECTION_RESET.

Any ideas what I can try to allow me to connect to the emulator?

----

I have also tried installing the emulator on a dedicated Windows 10 PC. When running on Windows 10 with the same parameters as above, I get the text "Network access not available" in the start up message. What does that mean?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,909 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. KasperSommer 10 Reputation points
    2023-02-25T09:38:06.0033333+00:00

    The problem is according to support in version 2.14.11.

    2 people found this answer helpful.

  2. SSingh-MSFT 16,371 Reputation points Moderator
    2023-02-13T10:22:45.65+00:00

    Hi @KasperSommer ,

    Welcome to Microsoft Q&A forum and thanks for using Azure services.

    As I understand from the question, Network access on Azure CosmosDB Emulator not working.

    This might be caused by the emulator failing to initialize the network stack.

    Check to see if you have the Pulse secure client or Juniper networks client installed, as their network filter drivers may cause the problem. Uninstalling third-party network filter drivers typically fixes the issue. Alternatively, start the emulator with /DisableRIO, which will switch the emulator network communication to regular Winsock.

    While the emulator is running, if your computer goes to sleep mode or runs any OS updates, you might see a Service is currently unavailable message. Reset the emulator's data, by right-clicking on the icon that appears on the windows notification tray and select Reset Data.

    If the above does not help in your issue, then I would request you to follow the steps mentioned here Troubleshoot issues when using the Azure Cosmos DB Emulator to Collect Trace Files and raise support ticket if you have support plan.

    In case you do not have a support plan, do let us know so that we can help you with other options.

    Thank you!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.