Bind_address vs publish_address


(Justin Uang) #1

I don't quite understand the difference between these two. I thought, in
general, that bind_address is the local address (and port) that the server
listens on. What is publish_address then?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Reelsen) #2

Hey,

usually both are the same. In case you have some special network setup you
may want to change the address, where service is bound to listen to,
compared to the address which is published to the other nodes and should be
used by them. Makes sense?

--Alex

On Tue, Nov 5, 2013 at 7:29 PM, Justin Uang justin.uang@gmail.com wrote:

I don't quite understand the difference between these two. I thought, in
general, that bind_address is the local address (and port) that the server
listens on. What is publish_address then?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Justin Uang) #3

Yes that makes sense. Thanks for the tip!

On Thursday, November 14, 2013 4:58:58 AM UTC-5, Alexander Reelsen wrote:

Hey,

usually both are the same. In case you have some special network setup you
may want to change the address, where service is bound to listen to,
compared to the address which is published to the other nodes and should be
used by them. Makes sense?

--Alex

On Tue, Nov 5, 2013 at 7:29 PM, Justin Uang <justi...@gmail.com<javascript:>

wrote:

I don't quite understand the difference between these two. I thought, in
general, that bind_address is the local address (and port) that the server
listens on. What is publish_address then?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f8a0ab01-d934-40bd-93a2-bb54de70abc5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4