Thursday, March 6, 2014

Setup the Memcached server to accept the connection other than localhost

In Multiserver Architecture sometimes we require to store some information in a centralized location for some time, in this situation Memcached comes in picture. In Ubuntu you can setup the Memcached by

sudo apt-get install memcached

Memcached has its own configuration file (/etc/memcached.conf). Here you find a option -l 127.0.0.1 you can the change it to the ip of the system and thats it all the other machine now can make the connection to Memcached machine.