Elasticsearch2.x cannot be reached outside


(Michael Li Zhou) #1

I have come across this problem where elasticsearch cannot be reached outside of localhost! I can hook kibana up to it and it detects es. But when I try to hit a http request my browser (other server) it gives me a no known connection error. Here is what I see when I run ES, I think its a network problem... Anyone else see this?

[2015-11-24 14:57:37,105][INFO ][node                     ] [Wraith] starting ...
[2015-11-24 14:57:37,308][INFO ][transport                ] [Wraith] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300}
[2015-11-24 14:57:37,324][INFO ][discovery                ] [Wraith] elasticsearch/zqdOTa-IRx2YqK98jPrZ8Q
[2015-11-24 14:57:40,404][INFO ][cluster.service          ] [Wraith] new_master {Wraith}{zqdOTa-IRx2YqK98jPrZ8Q}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-join(elected_as_master, [0] joins received)
[2015-11-24 14:57:40,457][INFO ][http                     ] [Wraith] publish_address {127.0.0.1:9201}, bound_addresses {127.0.0.1:9201}, {[::1]:9201}

(Mark Walkom) #2

See https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_20_network_changes.html#_bind_to_localhost


(David Pilato) #3

Wondering if we should create a top message on discuss as so many users are asking this same question!


(system) #4