ufw allow 6379
vi /etc/redis/redis.conf
bind 0.0.0.0
systemctl restart redis
redis-cli -h 아이피_주소 -p 포트번호 -a 비밀번호