CentOS   发布时间:2022-05-09  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了centos vagrant 外面端口转发不进去里面的nginx/apache 80端口大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

折腾几小时 发现里面防火墙没关

service iptables stop

搞定






-----------------------------------

systemctl disable firewalld

systemctl stop firewalld

1 关闭防火墙-----service iptables stop
2 启动防火墙-----service iptables start 3 重启防火墙-----service iptables restart 4 查看防火墙状态--service iptables status 5 永久关闭防火墙--chkconfig iptables off 6 永久关闭后启用--chkconfig iptables on

大佬总结

以上是大佬教程为你收集整理的centos vagrant 外面端口转发不进去里面的nginx/apache 80端口全部内容,希望文章能够帮你解决centos vagrant 外面端口转发不进去里面的nginx/apache 80端口所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: