getNodeAddress(node) {
		if (node.udpAddress) return node.udpAddress;

		if (this.opts.useHostname && node.hostname) return node.hostname;

		if (node.ipList && node.ipList.length > 0) return node.ipList[0];

		this.logger.warn(`Node ${node.id} has no valid address`, node);

		return null;
	}
Get address for node. It returns the hostname or IP address

@param {Node} node
@returns
@memberof TcpTransporter