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.

I recently upgraded my DigitalOcean droplet from Ubuntu 22.04 to Ubuntu 24.04 LTS. After the upgrade, nginx started returning 502 Bad Gateway errors for all my sites.
I have checked the following so far:
Here is the relevant error from /var/log/nginx/error.log:
connect() failed (111: Connection refused) while connecting to upstream
My nginx config uses proxy_pass to forward requests to a Node.js application running on port 3000. The app works fine when accessed directly but nginx cannot proxy to it.
I suspect something changed with systemd socket activation or AppArmor profiles in Ubuntu 24.04 Noble Numbat. Has anyone else experienced this issue after upgrading?
9ee5b5ed90ff4f7b9e69d1681de3b4
34bcef38725b4e6eb5224ae028f17e
Paul Hives
Inshot Pro
zero zero
TiggaBiscuit
Roger Ross
Yavin Fickel
da04b39dc1b94b8395443a37a964c6
Connor
a83662b77b56408096139dd19e615a
MassiveSeaGreenAnemone