code: public int determinePort() {
  		if (CollectionUtils.isEmpty(this.parsedAddresses)) {
  			return getPort();
  		}
  		Address address = this.parsedAddresses.get(0);
  		return address.port;
  	}
docs: Returns the port from the first address, or the configured port if no addresses
  have been set.
  @return the port
  @see #setAddresses(String)
  @see #getPort()