Plesk Nginx fail to start on boot

On a Debian Server with Plesk Control Panel, Nginx did not start on boot.

On checking status, i get

/var/log/nginx/error_log had following error

2018/01/22 18:30:19 [emerg] 700#0: bind() to 82.211.1.93:80 failed (99: Cannot assign requested address)

Solution

Edit nginx.service file

Find line

Add above (on a new line)

Find

Replace with

Reload service file

Here is my modified nginx.service file

plesk

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *