The port is not the issue, it's the listening address.
You need to set the listen address in memcached.conf
-l 0.0.0.0
this is not safe, but the most open
or
-l 127.0.0.1
or the actually IP address of the host (this is what I use)
-l 192.168.0.1
BTW, this is my hosts
file:
127.0.0.1 localhost
127.0.1.1 myhostname