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

技术分享 2014-08-16

错误信息如下:

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 ]

评论 (0)

发表评论

最多500字符

验证码

暂无评论

成为第一个评论的人吧!