Connection between two droplets of different users

Posted May 12, 2021 851 views
NetworkingFirewallDigitalOcean Droplets

My friend has a droplet. I want to connect to that droplet’s public IP from my droplet. It seems that packets between different user’s droplets are getting dropped even if I use the public IP. Is this by design? Can I do anything to access the API hosted on my friend’s droplet?
Note: I can ping my friend’s droplet IP from any network, but ping to that IP is failing from my Digitalocean droplet.

1 comment
  • Sorry. It was just a firewall issue. I allowed IP blocks of a specific country by getting the Geo-IP list from a website. The public IP blocks of Digitalocean were not included in that list. It is resolved now.

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.

Submit an Answer
2 answers
Show answer This answer has been marked as resolved by talkghosh.

Hello, @talkghosh

I’m glad this is sorted. You can always allow new IPs in the Firewall if you need to access the droplet from other servers as well.

For example, if you’re using UFW:

  • sudo ufw allow from IPaddress

You can check our UFW tutorial here:


by Brian Boucheron
This tutorial will show you how to set up a firewall with UFW on Ubuntu 20.04.