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 공식업데이트됨 2년 전
- AWS 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 2년 전