redhat下修改apache端口出错,启动出错

错误信息如下:

Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:81
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:81
no listening sockets available, shutting down
Unable to open logs

处理办法:

semanage port -a -t http_port_t -p tcp 81
service httpd start
Starting httpd: [ OK ]

本文为原创文章,转载请注明出处。

原文链接:https://850406.xyz/post/redhat下修改apache端口出错-启动出错

评论(0)

还没有评论,来抢沙发吧~

验证码