加入收藏 | 设为首页 | 会员中心 | 我要投稿 鲜蔬坊站长网 (https://www.xianshufang.com/)- 图像处理、AI行业应用、媒体智能、云计算、大数据!
当前位置: 首页 > 综合聚焦 > Linux > 正文

主机访问虚拟机中linux上的web服务

发布时间:2020-09-12 14:35:04 所属栏目:Linux 来源:互联网
导读:环境:主机windows xp 虚拟机centos 6.4[root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@

环境:主机windows xp 虚拟机centos 6.4

[root@localhost /]# iptables -I INPUT -p tcp --dport 80 -j ACCEPT[root@localhost /]# /etc/rc.d/init.d/iptables saveiptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]

[root@localhost /]# cd /etc

[root@localhost etc]# cd init.d[root@localhost init.d]# lsauditd crond halt iptables keepalived lvm2-lvmetad netconsole network rdisc rsyslog saslauthd sshdblk-availability functions ip6tables jexec killall lvm2-monitor netfs postfix restorecond sandbox single udev-post[root@localhost init.d]# /etc/init.d/iptables restartiptables: Flushing firewall rules: [ OK ]iptables: Setting chains to policy ACCEPT: filter [ OK ]iptables: Unloading modules: [ OK ]iptables: Applying firewall rules: [ OK ][root@localhost init.d]#

(编辑:鲜蔬坊站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读