Linux本地可以访问,其他的无法访问,关闭防火墙
2014-05-05 10:25
429 查看
查看防火墙配置(需要root权限)
[plain]
view plaincopyprint?
1.
[root@localhost ~]# service iptables status
2.
Redirecting to /bin/systemctl status iptables.service
3.
iptables.service - IPv4 firewall with iptables
4.
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
5.
Active: inactive (dead)
[root@localhost ~]# service iptables status
Redirecting to /bin/systemctl status
iptables.service
iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
Active: inactive (dead)
关闭防火墙(需要root权限)
[plain]
view plaincopyprint?
1.
[root@localhost ~]# service iptables stop
[plain]
view plaincopyprint?
1.
[root@localhost ~]# service iptables status
2.
Redirecting to /bin/systemctl status iptables.service
3.
iptables.service - IPv4 firewall with iptables
4.
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
5.
Active: inactive (dead)
[root@localhost ~]# service iptables status
Redirecting to /bin/systemctl status
iptables.service
iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
Active: inactive (dead)
关闭防火墙(需要root权限)
[plain]
view plaincopyprint?
1.
[root@localhost ~]# service iptables stop
相关文章推荐
- 【水晶玻璃鞋 11】解决Filezilla server 搭建的FTP服务器本机可以访问,而其他主机无法访问的办法(不关防火墙)
- Linux 下 SElinux 以及 防火墙 的关闭 (samba NFS TFTP 等服务无法正常访问)
- LInux Oracle本地可以连接远程无法访问解决方法
- linux配置免密码登录———— linux服务器可以ping通,但是访问不了--Ip地址:端口--关闭防火墙
- window7 搭建SVN 本地可以访问 其他机器无法访问
- 本地访问weblogic控制台无反应,关闭linux操作系统防火墙
- winServer2003除默认端口外的其他端口只能本地访问,关闭防火墙即可
- LInux Oracle本地可以连接远程无法访问解决方法-启动实例-开启监听
- tomcat启动后本地无法访问,局域网内的其他电脑可以访问
- mysql 在Linux下 "无法远程却可以本地访问" 或 "无法本地却可以远程访问"
- linux 本地账号密码无法登陆(shell可以登录),一直返回 登陆的login界面
- 服务器外网无法访问,本地确可以!阿里云服务器外网无法访问解决方案,腾讯云外网无法访问
- Linux(ubuntu)系统下安装好apache(httpd)服务后,其他电脑无法访问的原因
- IIS网站本机可以访问,局域网其他机器无法访问
- IIS网站本机可以访问,局域网其他机器无法访问
- win7 不关闭防火墙,设置局域网访问本地网站
- 阿里云配置tomcat无法访问的原因和解决(无需关闭防火墙)
- Linux FTP 服务器配置简单说明【从防火墙关闭到关闭selinux-sestatus到配置ftp用户访问的数据目录再到添加一个ftp用户】
- 文件上传,带其他非文件参数,返回文件可以访问的本地地址
- 其他ip无法访问Yii的gii,配置ip就可以