Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to enable Elastic Search REST API Accessible using IP Address?

By default http transport and internal elasticsearch transport only listens to localhost. If you want to access Elasticsearch from the host other than localhost then try adding following configurations in config/elasticsearch.yml. Also, 9200 port should be opened.

transport.host: localhost
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0
Here, network.host as 0.0.0.0 allow access from any host within the network.

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x