<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi!</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Only the root can bind the ports small than 1024. You should start your nginx service with the sudo prefix.</div> <br> <div id="bloop_sign_1499736188622951936" class="bloop_sign"></div> <br><p class="airmail_on">On 11 July 2017 at 09:20:40, Viaduct Lists (<a href="mailto:lists@viaduct-productions.com">lists@viaduct-productions.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hi there. <br><br>Looking to get port 80 serving.  Changed to root, but the error keeps the user from running:<br><br>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<br>nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok<br>nginx: [emerg] bind() to <a href="http://0.0.0.0:80">0.0.0.0:80</a> failed (13: Permission denied)<br>nginx: configuration file /usr/local/etc/nginx/nginx.conf test failed<br><br>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.  <br><br>Any advice appreciated how I can get this on normal ports 80 and 443.  <br><br>_____________<br>Rich in Toronto @ VP<br><br><br><br><br><br><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div></div></span></blockquote></body></html>