查看防火墙的过滤规则:iptables -L
iptables -F
Linux防火墙(Iptables)的开启与关闭
http://os.51cto.com/art/201103/249045.htm
CentOS 6.0 semanage,screen 安装
http://blog.sina.com.cn/s/blog_7e56997901016bvp.html
apache报Permission denied: make_sock: could not bind to address 解决方案
http://blog.sina.com.cn/s/blog_7e56997901016bw7.html
在apache中绑定非http标准端口时,一直出现如下的错误提示:
[root@localhost ~]# /etc/init.d/httpd start
Starting httpd: (13)Permission denied: make_sock: could not bind to address 0.0.0.0:888
no listening sockets available, shutting down
Unable to open logs
[FAILED]
解决方案:
增加selinux中http的端口
semanage port -l|grep http #查看SELinux下http相关端口
semanage port -a -t http_port_t -p tcp 888 #增加这个非标准端口即可
[root@localhost ~]# /etc/init.d/httpd restart 或者 service httpd start
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
1 根目录的deny
2 设置组群
3 关闭防护墙
4 selinux设置
http://blog.chinaunix.net/uid-26683523-id-3078694.html