1.所連主機防火牆關一下.
- 1:查看防火狀態
- systemctl status firewalld
- service status iptables
- 2:暫時關閉防火牆
- systemctl stop firewalld
- service stop iptables
- 3:永久關閉防火牆
- systemctl disable firewalld
- chkconfig iptables off
2.能不能ping通那主機
3.bind 127.0.0.1改為 #bind 127.0.0.1
4.protected-mode yes 改為 protected-mode no(redis3.2版本以后)
5.加入 daemonize no(這個是是否在后台啟動不占用一個主程窗口)