Question

Conecting via private network

Posted July 12, 2018 3.1k views
Networking Ubuntu 16.04

Hello!

So I was setting up the firewall in one of the droplets I use for Postgresql with UFW, and when I use the IPv4 value of my App droplet, I’m able to connect just fine, but when I use the private IP, it wont connect at all.

Am I missing something here? halp!

Both droplets are on the same region and on private networks.

Thanks!

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.

2 answers

Hello friend!

As long as private networking is configured on the server, and the two servers are in the same account, there should be no reason for them to fail to reach each other. Had private networking been enabled on either droplet after it’s creation? If so, a manual configuration is needed to finalize it:

https://www.digitalocean.com/docs/networking/private-networking/how-to/enable/

Kind Regards,
Jarland

  1. Open the Windows Control Panel, and then click Network and Internet. …
  2. Click Network and Sharing Center. …
  3. Under Change Your Networking Settings, click Connect to a Network. …
  4. In the pop-up window, click your VPN connection, and then click Connect.
edited by AHA
Submit an Answer