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 ]

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

原文链接:http://www.quartlog.com/post/redhat下修改apache端口出错-启动出错

评论(1)

  • 搬 搬砖的 2026-09-19

    终于搞明白了,感谢。

验证码