The host and port a broker address names, as one comparable key, whatever its scheme and
whether its port is written out. NATS://127.0.0.1:4222/ and nats://127.0.0.1:4222 reach the
same listener, so both answer 127.0.0.1:4222, and so does an address with no port, which takes
the NATS default. undefined for an address this cannot take apart, such as a list or a record
written by hand that is not a URL: a caller comparing addresses skips it rather than reading a
throw as a conflict.
The host and port a broker address names, as one comparable key, whatever its scheme and whether its port is written out.
NATS://127.0.0.1:4222/andnats://127.0.0.1:4222reach the same listener, so both answer127.0.0.1:4222, and so does an address with no port, which takes the NATS default.undefinedfor an address this cannot take apart, such as a list or a record written by hand that is not a URL: a caller comparing addresses skips it rather than reading a throw as a conflict.