Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed memcached server. It has options in which we can specify few options.

options="-l 127.0.0.1"
options="-l server_ip_address"

Which is the best method? Is there any other way to secure it? I have httpd and nginx servers installed

share|improve this question
    
Is there anything wrong in the question to get negative vote? –  Mahesh Aug 24 '13 at 14:15

1 Answer 1

up vote 0 down vote accepted

127.0.0.1 is the loopback (that means no connection from the LAN are allowed). So it's the most secure (and best performing) way if your server is accessed only locally.

share|improve this answer
    
can I change the default port 11211 to something else? Or just adding 127.0.0.1 is good enough? –  Mahesh Aug 24 '13 at 14:24
    
yeah, with -p <port> but if it's bound only to the loopback I think is good enough the default 11211. –  Paolo Casciello Aug 24 '13 at 14:42

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.