Fixed to pass user-defined host address.