Has this been solved?
I wanted to implement the same thing but it doesn't seem to work. I wanted to expose the API to localhost only, but i want to the use the real IP for clustering/discovery. The reason is that we do not have remote API calls, all ES API calls always originate from the same server. We do not want to expose the API outside of the server for security reasons.
I configured the nodes like:
The problem is they all bind to localhost resulting in nodes not being able to see each other.