Allow remote access to Elasticsearch on DO ELK stack
I have the one click ELK stack setup running on a droplet, but I would also like to use the Elasticsearch part of it for other things as well as Logstash.
When I try to query it remotely though, I get a connection refused on port 9200.
How can I open this up, preferably to only allow access from defined ip addresses?
I have already tried commenting out the network.bind.host line in config and restarting, but this did not solve the issue.
Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.