Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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

Cheers

share|improve this answer
add comment

Your Answer

 
discard

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.