# memcached -u memcached -d -m 30 -l 127.0.0.1 -p 11211
You’ll notice there is “-l 127.0.0.1
” in your command line. This tells memcached
to only listen on the lo interface. If you want to access it from a remote machine, you need to remove this part of the command line.