Bind redis to listen only on local host.

Redmine: #6720
(cherry picked from commit 459fe5cc10240a56bda7f2522faedc03233177e7)
Merge pull request #18 from maciejmrowiec/3.6.x

Bind redis to listen only on local host.