Hi there,
I created a managed mongodb to which I want to connect over my VPN which runs on another droplet in the same VPC. I use this VPN to connect from outside to other resources in the VPC. However, when I want to connect to the managed mongodb, that doesn’t work. I thought connection works when I add the IP range of the VPC to the trusted sources of the managed mongodb, and then use the ‘VPC network’ private hostname of the mongobd in the connection string, but that won’t work. Connection is only established when I add my computer’s IP address to the trusted sources but that’s a thing I would like to avoid.
Any hints?
Greetings Matthias
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!