Permission denied: AH00072: make_sock: could not bind to address 0.0.0.0:9001

yum provides /usr/sbin/semanage
yum -y install policycoreutils-python
semanage port -l | grep -w http_port_t
// http_port_t  tcp  80, 81, 443, 488, 8008, 8009, 8443, 9000
semanage port -a -t http_port_t -p tcp 9001
systemctl start httpd

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章