Report this

What is the reason for this report?

502 bad gateway after root password reset

Posted on December 7, 2018

After reseting the password the wordpress site went offline with error 502, the nginx log error indicates that

"listen () to [::] :80, backlog 511 failed (98: adress already in use) "



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.

Looks like port 80 is not released by whichever process was running earlier.

So, kill that process with:

sudo fuser -k 80/tcp

Then restart Nginx.

Curiously I’ve seen this “backlog 511” error in Plesk. Do you use Plesk? If so, switch off and on Nginx by going to Tools & Settings > Services Management.

If that didn’t work, tell us exactly what password you changed.

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.