2023/04/19

Ubuntu 22.04 LTS Redis 7.0.10 開啟外部連線

Redis 3.2以後預設配置僅允許localhost連線
# Modify Redis conf
vim /etc/redis/redis.conf
# bind 127.0.0.1
bind 0.0.0.0
# protected-mode yes
protected-mode no

systemctl restart redis