How to open a port on MacOS X
you need to start memcache by typing

memcached

in terminal and leaving the window open

or start the daemon

memcached -d

you could also look for a loadctrl script if you want this to always run on boot.