How can I call elastic search from .NET console app, when I've set it up as Windows service? All tutorials online have it running as http://localhost:9200
Elasticsearch is designed to be interacted with through its RESTful API, so you will need to make REST calls to it from your app. Here is an example of a C# REST call. Here is Elasticsearch's RESTful documents. Hope this helps.