Trying to run curator locally on an ES instance.
I have this config:
---
# Remember, leave a key empty if there is no value. None will be a string,
# not a Python "NoneType"
client:
hosts:
- 127.0.0.1
port: 9200
url_prefix:
use_ssl: False
certificate:
client_cert:
client_key:
ssl_no_validate: False
http_auth:
timeout: 30
master_only: False
logging:
loglevel: INFO
logfile:
logformat: default
blacklist: ['elasticsearch', 'urllib3']
127.0.0.1 won't connect, but putting in the server's actual ip will. Do I have to explicitly allow connections to the loopback for ES?
Not sure which version of Elasticsearch you are using, but, in short, yes, you need to specify that you want to listen on the loopback.
you'll need to set that on the network.host
property in your elasticsearch.yml (it accepts an array of values).
network.host : [ "your_server_dns_name", "127.0.0.1" ]
by example.
source : https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html