centos 按装好apache服务, 页面无法访问解决办法 80端口没开
2014-06-24 14:34
525 查看
iptables -I INPUT -p TCP --dport 80 -j ACCEPT
1、开启80端口命令:/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2、保存配置 命令:/etc/rc.d/init.d/iptables save
3、重启服务命令 :/etc/rc.d/init.d/iptables restart
4、查看已经开放的端口: /etc/init.d/iptables status
1、开启80端口命令:/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
2、保存配置 命令:/etc/rc.d/init.d/iptables save
3、重启服务命令 :/etc/rc.d/init.d/iptables restart
4、查看已经开放的端口: /etc/init.d/iptables status
相关文章推荐
- apache ambari web页面无法访问解决办法
- apache服务无法启动或者80端口被占用解决办法
- Ambari学习5_apache ambari web页面无法访问解决办法
- Windows 7 下IIS 使用AjaxPro无法访问到页面类文件的解决办法(页面类注册无效)
- apache2.2服务无法启动 发生服务特定错误:1 的解决办法
- CentOS 安装 Apache 后其他机器无法访问的解决方法
- resin服务下访问静态html页面时默认编码总为iso-8859-1的问题解决办法
- phpcms v9 前台会员无法上传附件,提示“您无权限访问该页面”的解决办法
- Apache修改DocumentRoot后访问页面出现403错误的解决办法
- CentOS6.3在安装nfs服务时无法找到portmap的解决办法
- CentOS 6.5 安装Apache服务器后无法访问解决方法
- 主机无法访问虚拟机的apache解决办法
- Linux 下 apache mysql等服务修改默认端口后无法正常启动解决办法
- CentOS 5.2 安装Apache服务器后无法访问解决方法
- IIS装好了 但是asp页面无法显示 解决办法
- 最新关于“无法访问 Windows Installer 服务”的解决办法
- CentOS 5.2 安装httpd(Apache)服务器后无法访问解决方法
- Linux(CentOS)系统下安装好apache(httpd)服务后,其他电脑无法访问的原因
- 关于iis中aspx页面无法访问,但是html页面可以访问的解决办法
- 80端口未占用,apache无法启动解决办法