memcached启动了,应用服务器连接不上memcached服务器

Friday, January 29, 2010

memcached启动了,应用服务器连接不上memcached服务器解决方法

sudo vim /etc/memcached.conf 修改-l 的值为ip地址,如 -l 192.168.1.250
或者启动时候加参数/usr/bin/memcached -m 2048 -p 11211 -u nobody -l 192.168.1.250 &

This entry was tagged memcached and MySQL

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top