原文:解決nginx報錯:nginx: [emerg] bind() to 0.0.0.0:8088 failed (13: Permission denied)

報錯描述: nginx: emerg bind to . . . : failed : Permission denied 通過ansible遠程給主機更換端口並重新啟動nginx服務,出現以上報錯信息 權限被拒絕 。 解決方式:經檢查發現是selinux導致報錯。 root localhost nginx getenforce 查詢selinux狀態 root localhost nginx s ...

2019-08-15 16:49 1 2727 推薦指數:

查看詳情

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