use localhost instead of 127.0.0.1

osx 10.9 use ::1 is default.
So using hostname is more useful than IP address.