Just tried to upgrade from 2.1.0 to 2.2.0 but having a problem with the network bind_host and publish_host settings.
In 2.1.0, we have this config. Bind_host is set to loopback so that it cannot be connected to remotely (over http) as we run the node behind a reverse proxy, and publish_host set to external interface.
network.bind_host: 127.0.0.1 network.publish_host: myhostname transport.bind_host: myhostname
This worked just fine, but when I try this in 2.2.0, the node starts and then dies with a message like this : (myhostname and 184.108.40.206 hashing out real values)
[2016-02-09 15:14:09,114][ERROR][bootstrap ] [myhostname] Exception BindHttpException[Publish address [myhostname/220.127.116.11] does not match any of the bound addresses [[127.0.0.1:9200]]]
It seems that bind and publish values must now be the same, which kind of breaks things as I can't secure the listener to loopback without also setting the publish host to loopback which means the node can't talk to anything else.
Any way round this?