Conecting via private network

July 12, 2018 863 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!

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. https://liteblue.me
Have another answer? Share your knowledge.