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
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
^]
telnet> quit
telnet xyz 9200
Trying 172.23.16.19...
telnet: connect to address 172.23.16.19: Connection refused
Here is my elasticsearch conf file:
cluster.name: abc
node.name: xyz
path.data: /servers/scratch03/ES_DATA
path.logs: /var/log/elasticsearch
warkolm
(Mark Walkom)
February 13, 2018, 7:34am
2
By default Elasticsearch only listens to localhost, you need to change that and you will be ok.
1 Like
dadoonet
(David Pilato)
February 13, 2018, 7:35am
3
1 Like
Thanks the following settings work:
transport.host: localhost
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0
warkolm
(Mark Walkom)
February 13, 2018, 8:27am
5
niraj_pandey:
transport.tcp.port: 9300
http.port: 9200
These are the defaults, there's not a lot of value in setting them like this.
system
(system)
Closed
March 13, 2018, 8:27am
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.