Connect to "127.0.0.1", not "localhost", to avoid IPv6 related issue