Running a elasticsearch 7.9 cluster of two (or several) nodes on same (windows) machine

Welcome!

discovery.seed_hosts: ["127.0.0.1:9202"]

Should be

discovery.seed_hosts: ["127.0.0.1:9302"]

Same for the other node 9200 should be 9300

Then in the second node, you need to change transport.port to 9302.

Are you doing that just for a test? Or do you want to run that kind of configuration in production?

1 Like