java.net.BindException: Cannot assign requested address

Elasticsearch version - 5.6.4

I am trying to install Elasticsearch in production environment. i have changed network.host: ipaddress
in the elasticsearch.yml file

I tried changing http.port from 9200 to 9300, it is the same error. there are no other possibilities to change as in 5.x most of the settings are removed compared to 2.x .

i have verified port 9200 and 9300 are not in use by any other job

Error: java.net.BindException: Cannot assign requested address

Hey

Quick question, how did you verify that those ports are not taken?

sudo lsof -i -P -n to know what all ports are in use

That is very weird. Any chance you could try and start ES with those exact settings in a VM and see if you get the same error?

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