Use host and port accessors