How to ping a private host within a private network?
I’ve created two VPS droplets running ubuntu 18.04 on each. Droplet #1 will be a load balancer powered by nginx. Droplet #2 will be an app server layer running node JS on port 3000.
I am trying to reverse proxy requests to the node server but it seems I am unable to communicate with the two instances.
In order to debug this, I am trying to simply determine how to get one droplet to communicate to another droplet using the private IP.
Currently, when I ping or telnet to the private IP of droplet #2, I get 100% loss of packets for ping and telnet does not respond either.
Can you please help me to understand if I am missing a firewall rule or some other configuration setting to get the two to communicate? I would have thought they could communicate over the private network.
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.×