memcached listens on 'localhost' (ipv4 and ipv6)

Some client libraries (at least Ruby's 'dalli')
tried to connect to localhost, which resolved
to IPv6 first, which wasn't listening.

Listening to 'localhost' seems to cover anything
listed in /etc/hosts.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Rob Hunter 2011-03-01 23:50:27 +11:00 committed by Adam Vandenberg
parent 92dbe0fb91
commit e364567b83

View file

@ -49,7 +49,7 @@ Add "-d" to start it as a daemon.
<array>
<string>#{HOMEBREW_PREFIX}/bin/memcached</string>
<string>-l</string>
<string>127.0.0.1</string>
<string>localhost</string>
</array>
<key>RunAtLoad</key>
<true/>