Run Elasticsearch on port other than 9200

I want to run elasticsearch on port other than 9200, so I changed http.port=9220 in elasticsearch.yml but still it is running on port number 9200

Please share your elasticsearch.yml

1 Like

As well as your Elasticsearch logs from startup.

only change in elasticsearch.yml is http.port: 8080 remaining configurations are deafult one

Can not attach logs file but it is it has printed .. publish_address {127.0.0.1:9200}, bound addresses {127.0.0.1:9200}

That doesn't align with what you are saying.

Without logs and configs this is very hard to diagnose. If they are too large to post here, please use gist/pastebin/etc.

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