I have installed redis in the vps (ubuntu server) and able to connect to it using redis-cli command: redis-cli -h ip_address
But when I tried to access apis that uses redis in django it is throwing connection refused error. redis.exceptions.ConnectionError: Error 111 connecting to ip_address:6379. Connection refused.
Enabled firewall in ubuntu using : sudo ufw enable Output of sudo ufw status: 6379 ports enabled
Updated redis.conf files:
bind ip_address protected-mode no
But still facing the issue, Any suggestions are helpfull Thanks in advance