private int getPort(ConnectorFactory connectorFactory) {
        return connectorFactory.getListenPort();
    }
Returns the index of this node. The index of a given node is stable through changes with best effort.
config-model/src/main/java/com/yahoo/vespa/model/container/Container.java