default uri.host to "localhost"