nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
Andrew Hutchings
ahutchings at nginx.com
Thu Feb 4 13:01:02 UTC 2016
Hi Maddy,
In Linux (and most other Unix based systems) ports below 1024 need to be
opened using the root user. So you need to start NGINX as root which
will open the port and then drop down to an unprivileged user for the port.
Kind Regards
Andrew
On 04/02/16 12:31, smsmaddy1981 wrote:
> Hi Lukas,
> as below:
>
> [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)
>
>
>
> Best regards,
> Maddy
>
> Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264319,264338#msg-264338
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
Andrew Hutchings (LinuxJedi)
Technical Product Manager, NGINX Inc.
More information about the nginx
mailing list