There are multpile reasons behind this as there isn’t much info to act upon. First what I would check is if my droplet is pinging
Where XXX.XXX.XXX.XXX is the actual IP address of your droplet.
If it pings, then most probably your IP address(local one) is being blocked by your droplet. You’ll need to allow it. You can do that by logging via your Console. The console can be found in your DigitalOcean account and private droplet area. Once you are in there, you should be able to allow your local IP address via Iptables.
If the droplet doesn’t ping, try to restart it. If it still doesn’t ping there might be something wrong with your network. In such case, I’ll recommend contacting DigitalOcean’s support team to assist you with the droplet. You can find the link to contact them here :