Monitoring logstash with port 9600

I am running logstash 5.6.4 and I have set
http.port: 9600-9700
in my logstash.yml configuration file.
On the logstash server, all is fine

$ telnet 9600
Connected to
Escape character is '^]'.

but an another server cannot check the port 9600

$ telnet ud0tx057 9600
telnet: connect to address Connection refused

but ping and ssh are OK
What's wrong ?
does it exist a netmask to allow/block the other servers ?

thanks for your tips

Does 'telnet 9600' work on the server itself? Do you have set to If you do 'netstat -an | grep 9600' then what do you get?

On the server itself, 'telnet 9600' does not work

telnet 9600
telnet: connect to address Connection refused

fgrep http. /etc/logstash/logstash.yml ""
http.port: 9600-9700

netstat -an | grep 9600
tcp 0 0* LISTEN

OK, so you have set to, which is referred to as "localhost". It is only accessible from the server itself. Change to be and anyone will be able to access it remotely.

I cannot speak to the security implications of exposing your monitoring ports to remote access.

thanks, it works

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.