Report this

What is the reason for this report?

Memcached Connection Test: Failed OpenLiteSpeed WordPress

Posted on June 21, 2020

Fresh install of one click wordpress with OpenLiteSpeed as playground, but cant manage to connect memcached. Any help?

Host localhost Port 11211

Memcached Extension: Enabled Redis Extension: Enabled Connection Test: Failed

service memcached status: Active: active (running)

telnet localhost 11211 Trying 127.0.0.1… telnet: Unable to connect to remote host: Connection refused



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

It comes with Memcached on UNIX socket, so you might want to verify the service with command

nc -U /var/www/memcached.sock
stats

I just tested it from the lscache plugin, Memcached and extension are installed but failed to connect somehow. Please use Redis and set Host to /var/run/redis/redis-server.sock instead, it should works.

Best, Eric

Just an update. Our developer has been fixed the issue on LSCache Plugin v3.3 which hasn’t publish yet. Let’s check it again in the near future.

Thanks! So i believe thread can be closed.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.