我正在尝试将 Apache 服务器设置为在 SELinux 时监听端口 888在宽容模式下。
我成功的把httpd端口改成了888,也完成了命令:
semanage port -a -t http_port_t -p tcp 888
但仍然拒绝连接。
最佳答案
所有更改后重启服务即可
关于linux - 如何设置 SELinux 以允许 Apache 绑定(bind)到端口 888,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40396894/