move setUriPort to setUri