Redis settings from config
-
Hey there,
I choose caching method = redis.
stream_socket_client(): unable to connect to tcp://127.0.0.1:6379 (Connection refused)
I set redis settings into the block.
Using redis-cache plugin I got an error
stream_socket_client(): unable to connect to tcp://redis:16079 (Connection refused)
Seems that al less redis password needed ??
Just wonder why this plugin do not read constants from wp-config.php, like
WP_REDIS_PORT
WP_REDIS_HOST
WP_REDIS_PASSWORDAre you really prefer to “hardcode” those parameters instead of not make compatibility to docker or docker-compose?
Its easy, just add 5 lines of code.
- The topic ‘Redis settings from config’ is closed to new replies.