原文:解决Mac nginx问题 [emerg] 54933#0: bind() to 0.0.0.0:80 failed (13: Permission denied)

Stopping nginx... might take a while gt Successfully stopped nginx label: homebrew.mxcl.nginx gt Successfully started nginx label: homebrew.mxcl.nginx 但是实际上没启动成功,查看下错误日志 : : emerg : bind to . . . : f ...

2018-01-25 12:11 0 1496 推荐指数:

查看详情

nginx bind() to 0.0.0.0:**** failed (13: Permission denied)

nginx 启动失败,日志里面报错信息如下: Starting nginx: nginx: [emerg] bind() to 0.0.0.0:**** failed (13: Permission denied) 原因seLinux限制了http的端口 getenforce 这个命令 ...

Thu Oct 25 18:06:00 CST 2018 0 2330
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM