主机访问虚拟机中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]# (编辑:新余站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 怎样使用lshw检阅Linux设备信息
- 吃货必读!在家也能做章鱼小丸子的秘密
- ruby-on-rails – git post-receive hook没有运行bundle in
- linux – 陷阱标志(TF)和监视器陷阱标志之间的区别?
- linux-device-driver – 编写I2C设备驱动程序时的探测问题
- Boost application performance using asynchronous I/O-re
- linux 定时任务
- linux – 使用30GB数据备份Web服务器的最佳方法是什么?
- Xbox One将在今年圣诞节档期准备9款独占游戏大作
- 新型止鼾神器火爆国外 从此告别打呼噜!