Only use localhost in HttpTest test.