Report this

What is the reason for this report?

Wordpress Unable to Connect to remote DB over Private Networking

Posted on June 10, 2014

I have wordpress setup on two separate droplets. Files are on one droplet and DB is on a separate droplet. wp-config.php was edited with DB_HOST reflecting the private IP of the DB server.

This has suddenly stopped working - site is give me a “error connecting” message. However, if I use the public IP of the DB server, then the site works.

Anything I’m missing?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.