I cannot seem to connect via private ip address between 2 droplets

Posted August 29, 2018 6.7k views
MySQLNetworkingUbuntu 16.04

I have 2 droplets, same data center behind the same fire wall. I have enabled private networking.
My end goal is to have a web application on droplet 1 and mysql database on droplet 2 and connect the two via private network IP over port 3306.
However, I cannot ping from droplet 1 to droplet 2 using the private ip address. I’m not sure what i’m doing wrong.
Ports 22,80,443 are open on the firewall.
Ubuntu 16.

Thank you!

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.

3 answers

Hey friend!

Most often when receiving reports of this, the case is that at least one droplet has had private networking enabled after it’s creation, but it has not been set up yet in the operating system. If that might be the case for you, try these instructions:

You will also want to make sure that the droplets are both on the same account, as private networking will be limited in communication to droplets on that same account.


For future readers of this thread:
Also, if a DO Cloud-firewall has been setup for the target droplet, the firewall must be open to ICMP protocol for Ping to work.

Submit an Answer