First, your redis is listening to connections only locally because of the IP address which is provided. So, you will have to make your bind-address to 0.0.0.0.
tcp 0 0 127.0.0.1:6379
Now, you will have to change your redis.conf file. The path to the file is /etc/redis/redis.conf. After opening the file, do the below part
bind 127.0.0.1 - change this to the one below
bind 0.0.0.0
After you have changed it, save the file and restart the service using the below command
sudo service redis-server restart
Now, try running the same and it should work.