Open Redis port for remote connections

后端 未结 10 2015
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 10:00

I can ping pong Redis on the server:

# redis-cli ping
PONG

But remotely, I got problems:

$ src/redis-cli -h REMOTE.IP ping
         


        
10条回答
  •  春和景丽
    2020-12-07 10:54

    1- Comment out bind 127.0.0.1

    2- set requirepass yourpassword

    then check if the firewall blocked your port

    iptables -L -n

    service iptables stop

提交回复
热议问题