1. Confirm the configuration file bind the ip is correct, generally want to be able to access the external network, you need to fill in 0.0.0.0 , represents listen to any ip
Note that anyone can visit, be sure to turn on the password requirepass your password
2. Confirm protected-mode whether no
3. After modifying the configuration file restart Redis
service redis restart
4. Verification of the firewall is turned on
service iptables status
5. If the off state is turned on, and then try
service iptables stop
If you can connect, the rules in question represents a protective wall
6. Check the firewall rules ( recommended sftp)
vim /etc/sysconfig/iptables
Note that the order is important
7. save after modification, and then restart iptables
service iptables restart