Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bind elasticsearch6.x tansport port i.e 9300(default) on 0.0.0.0

Aman Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2018

Im not able to access transport port 9300 from outer network, since it is binded locally.

As visible from logs 9300 port listening on localhost and 9200 listening on 0.0.0.0

Faced this issue in ES6.0 version

Logs: ES

[2018-02-20T13:03:41,550][INFO ][o.e.t.TransportService ] [44uN7Fm] publish_address {127.0.0.1:9300}, bound_addresses {[::1]:9300}, {127.0.0.1:9300}
[2018-02-20T13:03:41,576][WARN ][o.e.b.BootstrapChecks ] [44uN7Fm] max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536]
[2018-02-20T13:03:41,576][WARN ][o.e.b.BootstrapChecks ] [44uN7Fm] max number of threads [1024] for user [elasticsearch] is too low, increase to at least [4096]
[2018-02-20T13:03:41,576][WARN ][o.e.b.BootstrapChecks ] [44uN7Fm] system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2018-02-20T13:03:44,657][INFO ][o.e.c.s.MasterService ] [44uN7Fm] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {44uN7Fm}{44uN7FmbTcOA8f-Xd0HfJg}{TpO3uskNStmjo7BwXyGX5A}{127.0.0.1}{127.0.0.1:9300}
[2018-02-20T13:03:44,664][INFO ][o.e.c.s.ClusterApplierService] [44uN7Fm] new_master {44uN7Fm}{44uN7FmbTcOA8f-Xd0HfJg}{TpO3uskNStmjo7BwXyGX5A}{127.0.0.1}{127.0.0.1:9300}, reason: apply cluster state (from master [master {44uN7Fm}{44uN7FmbTcOA8f-Xd0HfJg}{TpO3uskNStmjo7BwXyGX5A}{127.0.0.1}{127.0.0.1:9300} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[2018-02-20T13:03:44,692][INFO ][o.e.h.n.Netty4HttpServerTransport] [44uN7Fm] publish_address {192.168.70.170:9200}, bound_addresses {[::]:9200}

2 comments

Comment

Log in or Sign up to comment
Aman Gupta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2018

elasticsearch yaml

 

cat /etc/elasticsearch/elasticsearch.yml

cluster.name: XYZ
http.host: 0.0.0.0

Note: network.host doesnt work anymore in ES 6.0.

Tahir Bhat
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 22, 2020

You can see this for the solution

Like code_tester likes this
TAGS
AUG Leaders

Atlassian Community Events