The default endpoint for NGS is
It is geo-balanced and will route to the closest NGS server. It will also detect if a connection originates from a certain cloud provider, and prefer that cloud provider if so.
Cloud Provider Endpoints
Cloud provider endpoints are geo-balanced and will route to the closest NGS server hosted at a specific cloud provider.
|Amazon Web Services|
|Google Cloud Platform|
Regional endpoints are not geo-balanced and will return all NGS servers in the region.
Since regional endpoints are not geo-balanced, they will often have higher latencies than using the default endpoint or cloud provider endpoints.
Latency to the NATS Servers returned by an endpoint can be tested using the
nats rtt command. For example, to test latency to the default endpoint run:
nats rtt -s tls://connect.ngs.global