Bind redis to listen only on local host.

Redmine: #6720
(cherry picked from commit 459fe5cc10240a56bda7f2522faedc03233177e7)