centos 7对外开启80端口
来源:互联网 发布:手机怎么连接网络电视 编辑:程序博客网 时间:2024/06/05 06:33
root权限
firewall-cmd --zone=public --add-port=80/tcp --permanent
命令含义:--zone #作用域--add-port=80/tcp #添加端口,格式为:端口/通讯协议--permanent #永久生效,没有此参数重启后失效
重启防火墙:
systemctl stop firewalld.service systemctl start firewalld.service
或者:
firewall-cmd --reload
阅读全文
0 0
- centos 7对外开启80端口
- linux开启对外端口
- CENTOS 7 开启80端口
- centos开启80端口
- centos开启80端口
- Centos 7 开启端口
- Centos 7 开启端口
- CentOS 7 开启端口
- Centos 7 开启端口
- CentOS 7 开启端口
- CentOS防火墙开启80端口
- [Linux]CentOS开启80端口
- CentOS 防火墙开启80端口
- linux centos 开启80、22、3306端口
- centos配置防火墙 开启80端口
- centos 7开启firewalld 防火墙端口
- linux centos 7开启特定端口防火墙
- centos iptables开启端口
- 时间戳转成日期,解决总是日期总是1970年的问题
- 【剑指offer】题12:打印1到最大的n位数
- Wildfly 配置web项目 并开启https双向认证
- Web Service工作原理及实例
- javasript自己封装的数组方法
- centos 7对外开启80端口
- d3.js 实现svg 缩放 平移 旋转
- pexpect库学习之ssh专用类详解
- Ubuntu下Eclipse的安装方法(图文详解)
- 使用 UMEditor-jsp 图片上传失败解决方法
- android监听SD卡状态
- 电商产品评论数据情感分析代码详解
- [Week 3] [Leetcode] [Array] Remove Duplicates from Sorted Array
- Apache Zeppelin 中 Cassandra CQL 解释器