using localhost instead of socket for better compatibility with Travis