DigitalOcean Not Working? Common Errors & Fixes
The 10 DigitalOcean problems users hit most often, why they happen, and the fixes that actually work — collected from user reports, forums, and official support docs.
DigitalOcean Droplet SSH Permission Denied (publickey)
Workaround availableLinux, macOS, WindowsPermission denied means the server rejected your credentials: usually the wrong key, a missing entry in authorized_keys, wrong file permissions, or password login switched off. Run ssh -v, then fix permissions or add your key through the Recovery Console.
DigitalOcean Droplet SSH Connection Refused or Timed Out
OngoingLinuxConnection refused means nothing is listening on the port (sshd stopped or on another port); timed out means a firewall or network is dropping packets. Check the Droplet status, firewalls and sshd through the Recovery Console.
DigitalOcean Droplet 502 Bad Gateway (Nginx)
OngoingLinuxA 502 on a Droplet almost always means Nginx is running but the app behind it (Node, PHP-FPM, Gunicorn) is down, crashed or on a different port or socket. Check the upstream service and Nginx error log.
DigitalOcean Droplet Out of Memory (OOM Killer)
Workaround availableLinuxOn 512 MB to 2 GB Droplets the Linux OOM killer ends your biggest process (MySQL, Node, PHP). Confirm with dmesg, add a swap file, trim memory use, or resize the Droplet.
DigitalOcean App Platform Build Failed
Workaround availableApp PlatformCheck the build logs first. The most common causes are a failing build command, a wrong language version, repo access problems and running out of build memory (BuildJobOutOfMemory).
DigitalOcean App Platform Deploy Failed or 502 After Deploy
OngoingApp PlatformIf the build succeeds but the deploy fails or the app returns 502/503, the service usually is not listening on 0.0.0.0 and the expected port (8080/PORT), fails its health check, or runs out of memory (exit code 137).
DigitalOcean Account Locked or Verification Required
OngoingWebDigitalOcean locks new accounts and new payment methods for fraud screening. Reply to the verification ticket from your account email, check billing status, and escalate through a support ticket. Some locks are not reversed.
DigitalOcean Unexpected Bill: Charged for Deleted or Powered-Off Droplets
OngoingWeb, APIYou keep paying for powered-off Droplets, and for snapshots, volumes, backups, reserved IPs and load balancers you did not destroy with the Droplet. Check Billing insights and remove leftovers.
DigitalOcean Droplet Locked Out: Reset Root Password and Recovery Console
Workaround availableLinuxIf you lost your SSH key or password, reset the root password in the Control Panel and log in through the Recovery Console, then re-add a key. Recovery Console needs the Droplet running and password login enabled.
How to Cancel DigitalOcean and Stop Billing
Workaround availableWebTo stop DigitalOcean charges, destroy every billable resource (powering off is not enough), then deactivate the account in My Account. Deactivation stops billing; purging also deletes your data permanently.
Problem not listed? See all DigitalOcean complaints or compare DigitalOcean alternatives.
// We build software. Any software.
Have an idea for an app? We'll build it.
We're a small team of developers who build custom software fast. Not just tools like DigitalOcean: web and mobile apps, games, desktop software, AI tools, internal tools: whatever you have in mind. 50+ custom products built for clients so far, and we run our own products too: booking platforms, games, learning apps. See our work
- Web apps & SaaS
- Mobile apps (iOS & Android)
- Games
- Desktop software
- AI tools & automations
- Internal tools & dashboards
- Client portals & booking
- Your own version of any tool
- ✓ Free 15-min call to scope it
- ✓ Price agreed up front
- ✓ Your data, your code