internalUrlOf

fun internalUrlOf(instance: ServiceInstance): URI?

The base URL of the internal port of instance, http://host:port: the host its metadata names, else the instance's own, and the port its metadata names; null when its metadata names no port.