nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
Daniël Mostertman
daniel at mostertman.org
Thu Feb 4 13:05:53 UTC 2016
Hi Maddy,
Op 4-2-2016 om 13:31 schreef smsmaddy1981:
> [gvp at alt-cti03 (TEST1) /var/gvp/Nginx/nginx-1.8.0/sbin] ./nginx
> nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
You edited the sudoers file to allow gvp to run programs as root.
In order to do so, you have to put "sudo" in front of the command, which
stands for "do as super user".
In this case, your line would've been instead:
[gvp at alt-cti03 (TEST1) /var/gvp/Nginx/nginx-1.8.0/sbin] sudo ./nginx
As a side-note, allowing every single program to be run as superuser
without the necessity of a password can pose a big security threat if
your account is ever compromised.
Kind regards,
Daniël
More information about the nginx
mailing list