Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
I finally solved the problem. I think the problem was that my new droplet was trying to use the other Droplet ip. I did the following, in the directory /etc/netplan there were two files:
10-static-interfaces.yaml
interfaces.yaml
I noticed that interfaces.yaml did reference the ip of the other droplet, so I deleted it. Then I run the following commands:
sudo netplan generate
sudo netplan apply