Friday, 10 February 2017

[Redis] How to set server to connect from remote client




1. Modify configuration

#> vi /etc/redis.conf





bind 127.0.0.1 -> bind 0.0.0.0 or bind [allowed host]




2. Restart server

# CentOS 6
#> service redis restart

# CentOS 7
#> systemctl restart redis

No comments:

Post a Comment