Connecting to Elasticsearch Cluster Node|| Nodes via Javascript client

I have a quick dumb question, I have an elasticsearch self-managed cluster in compose, the question is how should I connect: by specifying a node or mandatorily specifying all nodes?
I appreciate the feedback, thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.