microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.84k stars 5.38k forks source link

Unable to remote connect in v3.2.100 #485

Closed ulimetic closed 8 years ago

ulimetic commented 8 years ago

Since the latest upgrade, I can't connect to Redis from a computer from my LAN, only locally. Used to be ok right before the latest upgrade (was already running v3.x). Not a firewall issue cause I tried without it. I usually use Redis Desktop Manager to admin it from my station to my server and I can't have it connect anymore. Local connections are fine.

djeeg commented 8 years ago

Had the same trouble with an upgrade Then saw there were security changes from redis v3.0 -> v3.2, see this page about "protected mode" http://redis.io/topics/security To enable remote connections:

ulimetic commented 8 years ago

Thanks djeeg, I read again the comments in the service.conf and what worked for me is binding to the local ipv4 address. bind 1270.0.1 192.168.1.5