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

在Ubuntu 中启动刚安装好的Nginx,报错: nginx: emerg bind to . . . : failed : Permission denied 原因如下: the socket API bind to a port less than , such as as your title mentioned, need root access. 所以说: 要么换用户为 root,要么 ...

2016-07-18 15:47 0 9061 推荐指数:

查看详情

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