Question

502 bad gateway after root password reset

Posted December 7, 2018 850 views
WordPress Ubuntu 16.04

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) ”

2 comments

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.

1 answer

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.

Submit an Answer