【英文】Redis允许远程访问
Preface
Configuring Redis to allow remote access
Solution to the error “Could not connect to Redis at 192.168.x.x:6379: Connection refused” during remote login to Redis
Body
- Modify the configuration file
redis.config
, change127.0.0.1
to0.0.0.0
on line 87
1 | bind 0.0.0.0 ::1 |
- Restart Redis service
1 | brew services restart redis |