Connection Refused for Dockerized WordPress and Redis
-
Hi,
I have WordPress and Redis running on docker containers separately (with same network name using docker-compose.yml). Redis Object Cache plugin is installed on my WordPress. When I enable this plugin Redis refuses to connect. I don’t have much experience with wordpress/redis either. Need some guidance to point me in right direction. I am trying to setup woocommerce in container and speed up a bit with Redis.
Here are some diagnostic data:
Status: Not connected Client: Drop-in: Valid Disabled: No Ping: Connection Exception: Connection refused [tcp://127.0.0.1:6379] (Predis\Connection\ConnectionException) Errors: [ "Connection refused [tcp:\/\/127.0.0.1:6379]" ] PhpRedis: Not loaded Predis: 1.1.6 Credis: Not loaded PHP Version: 7.4.13 Plugin Version: 2.0.17 Redis Version: Unknown Multisite: No Filesystem: Working Global Prefix: "wp_" Blog Prefix: "wp_"
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Connection Refused for Dockerized WordPress and Redis’ is closed to new replies.