Pagoda's Redis binding IP

Pagoda installs Redis


Software Store Search Redis

The solution to the failure of connecting to the redis server of the pagoda panel

  1. Check whether Linux allows port 6379
  2. Modify the Redis binding IP
  3. Check whether the firewall policy of Alibaba Cloud/Tencent Cloud allows port 6379
1.bind 127.0.0.1 修改为 bind 0.0.0.0
127.0.0.1  	表示只允许本地访问,无法远程连接
0.0.0.0     表示任何ip都可以访问

2.protected-mode yes 改为 protected-mode no
yes			  保护模式,只允许本地链接
no			  保护模式关闭

3.daemonize yes 改为 daemonize no 
yes: 代表开启守护进程模式。此时是单进程多线程的模式,redis将在后台运行。
no: 当前界面将进入redis的命令行界面,exit强制退出或者关闭连接工具都会导致redis进程退出

The default binding IP is 127.0.0.1, restart Redis after changing to 0.0.0.0

However, changing the binding IP to 0.0.0.0 pagoda will require a password to be set

If you don’t want to set a password, you can skip the pagoda restriction by modifying the configuration file
Ctrl+F to search for bind 127.0.0.1

Change to bind 0.0.0.0 and save and restart

Guess you like

Origin blog.csdn.net/qq_31762741/article/details/131809430