1. Open security group port 6379
2. Open linux's iptables firewall to block port 6379
(1), modify the /ect/sysconfig/iptables file
-A INPUT -p tcp -m tcp --dport 6379 -j ACCEPT
(2), /etc/init.d/iptables restart //iptable restart
3. Modify the redis.conf file
(1), bind 127.0.0.1 ::1 //Comment out
(2), bind 127.0.0.1 //Comment out
(3), protected-mode yes //Change to no
(4), daemonize no //Add this sentence