Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Share database between droplets in VPC Network
I have several droplets and use ServerPilot. Is it possible to access the database in one droplet from another when they are in the same VPC? I followed the VPC instructions and am able to ping the Private IPs between droplets, but it’s not letting me connect to a database in PHP.
My databases are created using ServerPilot. If this is a firewall issue it looks like I would neat a subscription with HeatShield for custom firewall rules, but I would prefer not to get another subscription.
I created a Managed Database and that works in multiple droplets, but I was wondering if this is possible without needing the Managed Database.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×