httpd Server not started: (13)Permission denied: make_sock: could not bind to address [::]:88
server to not 13 could Make bind denied
2023-09-11 14:19:17 时间
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
相关文章
- [jenkins]Can’t connect to window server – not enough permissions
- 【异常】com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
- SQL Server HA - 高可用性解决方案解决方案概述
- ArcGIS Server启动服务报:ERROR: Unable to start Xvfb on any port in the range 6600 - 6619
- java.sql.SQLException: null, message from server: “Host ‘xxx’ is not allowed to connect
- 解决SQL Server管理器无法连接远程数据库的问题(转)
- adb server didn't ack failed to start daemon
- loadrunner11错误:Error -27776: Server "wsg.cmszmail.ad" shut connection during attempt to negotiate SSL session [MsgId: MERR-27776]解决办法
- Windwos Server 2012 R2 部署iSCSI 虚拟存储
- ERROR 1130 Host is not allowed to connect to this MySQL server 问题解决
- CentOS下httpd下php 连接mysql 本机可以,外网报错Could not connect: Can't connect to MySQL server on '127.0.0.1' (13)2003 原因解析
- Upload Picture to application server
- SQL SERVER服务器链接连接(即sql server的跨库连接)
- 如何让Activiti-Explorer使用sql server数据库
- 成功解决404 Not Found Not Found The requested URL was not found on the server. If yo
- 已解决pymysql.err.OperationalError:(2003 ”Can‘t cornect to MySQL server on ‘localhost‘ ([WinError 10061
- ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost‘ (10061)
- Tosca Connection Validation error:40 - Could not open a connection to SQL Server (不知道怎么解决)
- PAT 1033. To Fill or Not to Fill (贪婪)
- Server Tomcat v7.0 Server at localhost failed to start.
- ERROR 2002 (HY000): Can't connect to local MySQL server through socket
- 003-tomcat配置文件-server、tomcat-users
- ERROR 1130: Host '' is not allowed to connect to thisMySQL server
- Web端server推送技术原理分析及dwr框架简单的使用
- Mysql报错:Can't connect to local MySQL server through socket '/tmp/mysql.sock'
- SQL报错——check the manual that corresponds to your MySQL server version for the right syntax to use
- 【TDengine】解决 failed to connect to server, reason: Mnode not found