While installing an elastic search server on debian one might come accross the following problem where whatever you do the service keeps binding on ipv6.
You can change the IP to listen on in the config yml.
non_loopback:ipv4 just means use the first non loopback device and force ipv4.
When you do that you might get this akward result:
When you do that you might get this akward result:
The solution is to go into your bin/ folder of your elasticsearch folder and change your elasticsearch.in.sh file
After that you restart your service and everything binds normally.
Hope I save somebody some frustration with this :)
Source: http://slacklabs.be/2012/04/02/force-Elastic-search-on-ipv4-debian/
Post a Comment
Post a Comment