高级搜索 返回首页  
名人名言
技术文章
山阴客技术文章解决FirewallD is not running问题
解决FirewallD is not running问题
2021-02-13 23:47:13
by 解决FirewallD is not r  
Rating: not rated yet
1 2 3 4 5 6 7 8 9 10

解决FirewallD is not running问题

 

centos7

1.查看firewalld状态:systemctl status firewalld,如果是dead状态,即防火墙未开启。

2.开启防火墙systemctl start firewalld

3.确认firewalld状态:systemctl status firewalld

4.开放默认端口号 3306,出现success表示成功

firewall-cmd --permanent --zone=public --add-port=3306/tcp

 

关闭防火墙:systemctl stop firewalld

 

推荐给好 src="images/mail.gif" align=absMiddle border=0> 打包下载这篇文章 打印这篇文章

  showcomment   there are 0 comment
subject:
name:E-mail


Copyright © 2002 http://www.shanyinke.com
All rights reserved.

备案号:浙ICP备17002154号-3 Powered by: MyArticle Version 1.0dev
Processed Time: 0.0052 s Querys: 5 [ Gzip Level 0 ]