Elasticsearch config issue

Running a duplicate node for the first time in the server, getting below issue.

[ERROR][o.e.b.Elasticsearch      ] [node-1] fatal exception while booting Elasticsearch
org.elasticsearch.http.BindHttpException: Failed to bind to 0.0.0.0:9200
        at org.elasticsearch.http.AbstractHttpServerTransport.bindAddress(AbstractHttpServerTransport.java:202) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.http.AbstractHttpServerTransport.bindServer(AbstractHttpServerTransport.java:169) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.http.netty4.Netty4HttpServerTransport.doStart(Netty4HttpServerTransport.java:254) ~[?:?]
        at org.elasticsearch.xpack.security.transport.netty4.SecurityNetty4HttpServerTransport.doStart(SecurityNetty4HttpServerTransport.java:80) ~[?:?]
        at org.elasticsearch.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:43) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.node.Node.start(Node.java:1327) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.start(Elasticsearch.java:436) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.initPhase3(Elasticsearch.java:229) ~[elasticsearch-8.4.3.jar:?]
        at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:67) ~[elasticsearch-8.4.3.jar:?]

Original ES is on different port and is running fine without any issue.
Thanks in Advance

Check the port 9200 is listening or it is already in use.
I got the similar kind of issue with other port when i tried installing elasticsearch in one of my node which is already in use by another process then i tried running on another port and it worked out.

Thanks for your reply. 9200 is being used by another process on the server, tried another port and it is working.
Thanks

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