This post was flagged by the community and is temporarily hidden.
Welcome to our community!
What do your logs show?
Which log file should I check.
I checked Elasticsearch.log and es-cluster.log files. I don't see any log related to the other node.
It behaves like it is a single node cluster and the cluster's health is green.
Can you please review my yaml files. Have I missed something, does it look correct?
Assuming the IP addresses that i set to network.host and discovery.seed.hosts properties are correct.
Elasticsearch logs, if you can post them that would be helpful.
In addition to providing the logs that Mark asked for I would recommend checking that the nodes can connect to port 9300 on the other host and that no firewall rules are blocking traffic.
From Elasticsearch.log there isn't anything useful written there. On es-cluster.log file there is some information.
Check the logs
first node logs: https://gist.github.com/sintonag/d6ee4e4c68084a0941c28afcf251b519
second node logs: https://gist.github.com/sintonag/d2443267154a485f33f1f7c18d073e30
If that's the problem, how can I override port 9300 in the Elasticsearch.yml file?
UPDATE: I changed the gist links