Welcome! Log In Create A New Profile

Advanced

nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

Viaduct Lists
July 10, 2017 09:22PM
Hi there.

Looking to get port 80 serving. Changed to root, but the error keeps the user from running:

nginx: [warn] the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/etc/nginx/nginx.conf:2
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)
nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed

Is there any way to get nginx working as root? Is this a bad idea? I just don’t like running as port 8080. It complicates things down the road as I want to implement SSL (port 443) later on. Port numbers also get into my code later on.

Any advice appreciated how I can get this on normal ports 80 and 443.

_____________
Rich in Toronto @ VP






_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

Viaduct Lists July 10, 2017 09:22PM

Re: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

tokers July 10, 2017 09:26PM

Re: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

gariac July 10, 2017 09:28PM

Re: nginx: [emerg] bind() to 0.0.0.0:80 failed (13: Permission denied)

Viaduct Lists July 11, 2017 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 176
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready