CentOS 开放 80、8080 端口
来源:互联网 发布:java svg转图片 编辑:程序博客网 时间:2024/05/21 06:46
临时增加:
/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
/sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT
修改配置:
vim /etc/sysconfig/iptables
在 -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT 下追加
-A INPUT -p tcp --dport 80 -j ACCEPT
-A INPUT -p tcp --dport 8080 -j ACCEPT
-A INPUT -p tcp --dport 8080 -j ACCEPT
注意位置,防火墙的规则里是有考虑放置顺序的。
重启防火墙: /etc/init.d/iptables restart
0 0
- CentOS 开放 80、8080 端口
- CentOS/Linux 开放80、8080端口或者开放某个端口
- CentOS/Linux 开放80、8080端口或者开放某个端口
- CentOS/Linux 开放80、8080端口或者开放某个端口
- CentOS/Linux 开放80、8080端口或者开放某个端口
- CentOS/Linux 开放80、8080端口或者开放某个端口
- centos开放端口8080
- centos 开放80端口
- Centos 开放80端口
- CentOs开放80端口
- CentOS开放80、22、8080端口操作
- centos 7 开放 80端口
- CentOS/Linux 开放80、3306端口或者开放某个端口
- CentOS中iptables开放80端口
- CentOS: 开放80、22、3306端口操作
- chmod 权限管理 Centos 开放80端口
- centos 7 配置iptables开放80端口
- CentOS:开放80、22、3306端口操作
- oracle新建用户及授权
- java实现excel的导入导出(poi详解)
- Unity3D简单电影视图编辑
- android-整体UI设计-(滑动导航栏+滚动页面)
- 基础知识快速提升
- CentOS 开放 80、8080 端口
- eclipse的svn插件出现问题,64位系统,解决方法
- 第三章 :介绍 Auto Layout
- spring,cxf,restful发布webservice传递List,Map,List<Map>
- Achive后 没有ios apps 只有other items
- BZOJ 1492 Cash(CDQ分治论文题)
- Codeforces Round #319 (Div. 2)(A,B,C,E)
- POJ 2155 解题报告
- Statement和PreparedStatement的区别