Telnet on 9200 doesn't work elasticsearch

(Niraj Pandey) #1

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

(Mark Walkom) #2

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

(David Pilato) #3

Change that is.

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

(Niraj Pandey) #4

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

(Mark Walkom) #5

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

(system) #6

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