httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88
Posted 优小U
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章
httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:8888(代码片段
工作经验 部署阿帕奇的时候出现 Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not r
httpd: Could not reliably determine the server's fully
Centos6 下启动httpd报错 Could not reliably determine the server's解决方法
httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name
httpd: Could not reliably determine the server's fully qualified domain name