Elastic change ip

It appears you've simply commented out elasticsearch.url, network.host and hosts from the relevant config files. This causes the applications to use their defaults. Try putting the actual IP addresses or host names into the configuration.