Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If telnet is disabled on my RHL server memcached gives the error of unable to connect to host: myMachine:port number when starting my java web app.

Is it mandatory to enable telnet for memcached to work? For security purpose if it has been disabled how does one enable it to work in a distributed env?. Are there any configurations for that. What about the configurations that are required in the case of firewalls?.

share|improve this question
What is the port number in "myMachine:port number"? Is this host:port combination anywhere in your Java source? – markdrayton Sep 11 '09 at 13:17

Memcached has nothing to do with telnet. It uses TCP port 11211 by default, so make sure you accept connections to this port in your firewall.

share|improve this answer

Maybe the code is using telnet to check if the service is listening on the standard port for memcached.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.