How to call the elasticsearch two node cluster from .net application

we have installed and configured two node master master cluster elasticsearch setup in our server, able to cache the data and replication between both nodes are fine.

issue :- we are calling one server Connectionstring from our application , in case of one server failing, we need to redirect the call to other server node automatically . please help us.

here we are using .NET Connectionstring objects(.NET core 2.0).
Cluster is under Windows server version.
i have attached images belongs to elastic search cluster setup node1-002node1-001node2-002node2-001

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