httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88
生活随笔
收集整理的這篇文章主要介紹了
httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
PHP 配置文件設置監聽端口出現報錯:
httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88
配置文件:/etc/httpd/conf/httpd.conf
由于缺少SELinux權限,默認情況下,SELinux僅允許apache / httpd綁定到以下端口:
80, 81, 443, 488, 8008, 8009, 8443, 9000
因此,結合我httpd.conf 監聽 88 端口將失敗。
要解決問題,我必須在系統的SELinux配置中添加端口88:
- 安裝semanage工具:sudo yum -y install policycoreutils-python
- 允許端口88使用httpd: sudo semanage port -a -t http_port_t -p tcp 88
總結
以上是生活随笔為你收集整理的httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ajax 进度条 php,php – J
- 下一篇: 计算机系统设计原理当当,操作系统精髓与设