主机访问虚拟机中linux上的web服务
环境:主机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]# (编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
-
无相关信息