1 回答
- 最新
- 投票最多
- 评论最多
0
Hi,
You might have missed the following steps. Note: these are NOT specified in this document.
sudo nano /etc/redis/redis.conf
Then change the localhost binding (comment it out) and specify the IP address of the EC2 instance:
bind 127.0.0.1 ::1
To:
#bind 127.0.0.1 ::1
bind 34.209.249.149 ::1
Save the results and run
sudo systemctl restart redis
For the security Group for 34.209.249.149, make sure the Inbound allows port 6379.
Then connect from your other machine with:
redis-cli -h 34.209.249.149 -p 6379
Hope this helps!
-randy
已回答 5 年前
相关内容
- AWS 官方已更新 8 个月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前