You haven't provided much information on how you're trying to connect.
I'd suggest starting with some of the troubleshooting steps from this doc; https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/troubleshoot-dotnet-sdk
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I can't connect to Cosmos DB. Please help?
You haven't provided much information on how you're trying to connect.
I'd suggest starting with some of the troubleshooting steps from this doc; https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/troubleshoot-dotnet-sdk