How to change firewall rule to allow Elastic server

I have never made any changes to FW rules or config so far today I installed ELK on raspberry pi while figuring out the reason why I am getting Failed to connect to localhost port 9200: Connection refused many suggested changing FW rule.

How and where do I make this change?

Also I want to understand, I am trying to access 9200 port on rpi but how is openwrt FW blocking this?

If you are running the Pi as a LAN device with only one network, the firewall won't block anything.

Use netstat -nlp to confirm that a process is listening to port 9200.

1 Like