Current location - Quotes Website - Collection of slogans - Memcached connection failed, what is the reason and what is the solution?
Memcached connection failed, what is the reason and what is the solution?
The following can be referenced: 1, the command executed.

Remote login127.0.0.111211

2. Error prompt

Trying 127.0.0. 1 ...

Telnet: Connect to the address 127.0.0. 1: Connection denied.

Telnet: Unable to connect to the remote host

3 、/usr/bin/memcached -h

Memcached 1.4. 13 (the corresponding version is displayed normally)

What is the reason why you can't connect to the memcached service? What is the reason for telnet?

Iptables does not open the port11211.

The problem has been found:

1.memcached service is not started.

Positive solution:/usr/bin/memcached-d-m2048-p11211.

2. Pay attention to the consistency of ports.

Remote login127.0.0.111211