Host Elastic Search in IP address

(Sjabiulla) #1


I have modified the below attribute in elasticsearch.yml so that I can access from other machine which is within network. <ip address here>

But, I'm getting the below error.

    [2019-04-16T13:04:30,635][INFO ][o.e.t.TransportService   ] [node-1] publish_address {<ipaddress>:9300}, bound_addresses {<ipaddress>:9300}
[2019-04-16T13:04:30,697][INFO ][o.e.b.BootstrapChecks    ] [node-1] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [1] bootstrap checks failed
[1]: JVM is using the client VM [Java HotSpot(TM) Client VM] but should be using a server VM for the best performance
[2019-04-16T13:04:30,900][INFO ][o.e.n.Node               ] [node-1] stopping ...
[2019-04-16T13:04:30,916][INFO ][o.e.n.Node               ] [node-1] stopped
[2019-04-16T13:04:30,916][INFO ][o.e.n.Node               ] [node-1] closing ...
[2019-04-16T13:04:30,931][INFO ][o.e.n.Node               ] [node-1] closed

Please assist.

(Mark Walkom) #2

Have a look at

(Sjabiulla) #3

Hi @warkolm,

Thanks for the reply. I have modified the below attribute and the above mentioned error is gone now.

discovery.type: single-node

But, when I access to ES using the IP I'm getting the below error in browser.

Network Error (tcp_error)
A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

(Mark Walkom) #4

Is there a firewall or proxy somewhere on the network?
Can you try a curl?

(Sjabiulla) #5

@warkolm I am getting the below error with CURL

curl: (7) Failed to connect to <ip> port <port>: Timed out

(Sjabiulla) #6

Yea, there is Symantec Endpoint Protection running on my machine. That might be causing this issue. I will check with network team

(Lemon Soft) #7

You can use Nmap or ZenMap to check connection from your machine to target. It also pings every port at target.