[root@localhost bin]# firewall-cmd --zone=public --add-port=6379/tcp --permanent success
[root@localhost bin]# systemctl restart firewalld
-----