(13)Permission denied: make_sock: could not bind to address

需要先执行semanage,如果程序不存在,那么需要先安装

yum install policycoreutils-python

Apache 更改端口出错解决方法 (13)Permission denied: make_sock: could not bind to address

 

然后开始先检查端口是否存在

 semanage port -l|grep http

Apache 更改端口出错解决方法 (13)Permission denied: make_sock: could not bind to address

 

比如要添加另外一个端口,8168

semanage port -a -t http_port_t -p tcp 8168      (执行期有点慢,等一下吧)

 Apache 更改端口出错解决方法 (13)Permission denied: make_sock: could not bind to address

 

好了,搞定

Apache 更改端口出错解决方法 (13)Permission denied: make_sock: could not bind to address

 

相关文章: