I'm rather new to Unix and am trying to set up a memcached server on Rackspace Cloud Servers with CentOS 5.4. I've been following the guide below.
I think I have everything set up, but it looks like im missing something. When I run "top" the memcached process is there. But when I try to connect to the server from PHP i get the following error.
Memcache::connect() [<a href='memcache.connect'>memcache.connect</a>]: Can't connect to 18.104.22.168:11211, A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.(10060)
I am connecting from a different server and I'm using the memcached server IP and port.
Here is the string I used to run memcached.
/usr/local/bin/memcached -d -m 200 -p 11211 -c 20480 -u root
I set a different port than that, but I want to keep it secret ;)
Any thoughts on what I did wrong, or some ideas on how I can test/troubleshoot the server? Or any pointers in general for a total noob like me?
Thanks in advance!