redhat下修改apache端口出错,启动出错
错误信息如下:
1
2
3
4
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
处理办法:
1
2
3
semanage port -a -t http_port_t -p tcp 81
s