Telnet on 9200 doesn't work elasticsearch

Hi ,

I am not able to telnet on the machine having elasticsearch is running using the hostname/ipaddr, while the telnet through localhost is working fine.

telnet localhost 9200
Connected to localhost.
Escape character is '^]'.
telnet> quit

telnet xyz 9200
telnet: connect to address Connection refused

Here is my elasticsearch conf file: abc xyz /servers/scratch03/ES_DATA
path.logs: /var/log/elasticsearch

By default Elasticsearch only listens to localhost, you need to change that and you will be ok.

1 Like

Change that is.

You might see some errors then. If so, please read

1 Like

Thanks the following settings work: localhost
transport.tcp.port: 9300
http.port: 9200

These are the defaults, there's not a lot of value in setting them like this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.