[CentOS] elasticsearch connection refused

Pete Biggs pete at biggs.org.uk
Tue Feb 19 14:37:18 UTC 2019


On Tue, 2019-02-19 at 15:09 +0100, Ralf Prengel wrote:
> 
> Am 19.02.2019 um 13:55 schrieb Ionut Hoza:
> > Hi Ralf,
> > 
> > You should check you firewall configuration ... most probably you need to
> > allow port 9200.
> > Also check if elasticsearch service is listening on all interfaces or just
> > localhost (127.0.0.1).
> 
> Hallo,
> the firewall is disabled.
> I tried several variations in the config-file.
> 0.0.0.0
> 192.168.242.4
> 
> Only 127.0.0.1 is working buth only withz local access.
> 
Can you see if it is listening on 9200 on the non localhost address?

I have the line 

  network.host: 10.0.0.1

in my config that binds it to that specific IP address and I have lines
like 

java    48111 elasticsearch  382u  IPv6 1550135      0t0  TCP 10.0.0.1:vrace (LISTEN)
java    48111 elasticsearch  530u  IPv6 1608995      0t0  TCP 10.0.0.1:wap-wsp (LISTEN)

in the lsof output.

P.





More information about the CentOS mailing list