Re: elasticsearch connection refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux