redis关闭防火墙的示例:
CentOS 7.0默认使用的是firewall作为防火墙,将其关闭方法:
在终端关闭firewall,命令:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:怎么关闭linux连接redis防火墙