'How to get IP adress and port of ElasticSearch server to connect to Grafana

I want to add elasticsearch as data source to grafana. Reading the documentation, for the URL I need the HTTP protocol, IP, and port of my Elasticsearch server. How can I get those?

the documentation in question: https://grafana.com/docs/grafana/latest/datasources/elasticsearch/



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source