1 Answer
- Newest
- Most votes
- Most comments
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
answered 5 years ago
Relevant content
- asked 4 years ago
- asked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago