I'm unable to connect to my local CosmoDb instance. I'm currently configuring a new PC, the CosmoDB version and my solution are all currently with the same configuration as my old PC, but issue only exists on new PC.
Here's is my connection string (provided by the same CosmoDb):
"mongodb://localhost:C2y6yDjf5%2FR%2Bob0N8A7Cgv30VRDJIWEHLM%2B4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw%2FJw%3D%3D@localhost:10255/admin?ssl=true"
Reminder that this same connection string works in my other PC.
Now Ive tried checking my ports and from my ignorance it seems that after running the netstat -ab CosmoDb
doesn't list the port 10255 as open:
I tried adding the firewall exception like this (People recommended only adding it as Inbound rule but since it didn't worked I tried adding the same rule as outbound):
Have I added the port incorrectly to my firewall? Can I force CosmosDb to use another port?