Forum Discussion

mgfeal's avatar
mgfeal
Copper Contributor
Feb 27, 2023
Solved

Private Endpoints - Disable Public Access

Hi,

We are developing our new software in Azure and we are using some CosmosDB, Key Vaults...

By default, all of them are published to internet. We use the default URI (https://testxxxxx.mongo.cosmos.azure.com:443/) and in Networking the Public Network Access is opened to "All networks".

 

For security reasons we want to change it. We don't want that our services are published to internet (now you can telnet to testdwh.mongo.cosmos.azure.com using 443 and 10255 ports.

 

So we disabled Public Access for one CosmosDB account:

 

And then we enabled the Private Access adding a Private Endpoint:

 

 

But... after these changes, we don't know why but we still connect to testxxxxxx.mongo.cosmos.azure.com using 443 and 10255 from internet.

 

How can we block this connections from internet?

Thanks!

Resources