原文: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