ElasticSearch noob here.
How do I specify the IP address that ES binds to??
I have an EC2 instance that runs ES on it. curling localhost:9200 on that
machine provides me with ES data. However, trying to query ES using the
public IP address of the EC2 instance (curl
http://<public_ip_address>:9200/_search?...), this does not work.
I have turned off all firewalls on the server. iptables and ip6tables have
all been turned on. Port 9200 and 9300 (default ports ES uses) are also
Taking a look at the logs, I can see the ES binds to the private IP address
of the ec2 instance when starting up. I've tried changing the network
bind_host, publish_host variables to the explicit public IP address but ES
still binds to the private IP address when starting.
I'm not sure what else to try. Trying to set up Kibana fails with this
setup, b/c even though KIbana and ES are on the same server, Kibana is
using the the url http://<public_ip_address>:9200 to try to connect to ES
but it cannot connect using that url.
There might be an easy solution to this but any help in solving this would
be greatly appreciated.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1f74bfc7-2784-4053-8944-4a1048a2a04e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.