Is it possible to configure ES to listen on 2 different http ports at the same time?


(Lance Lakey) #1

How do I configure ES to listen on http.port 9200 and 9500 ?

I've tried a couple variations in the config but afaict ES always picks
only one port

--
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/d7538aea-ebac-470a-b2b4-75cf66cd52bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

You can not do that.

What is the use case?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 27 mai 2014 à 10:07:40, Lance Lakey (lancelakey@gmail.com) a écrit:

How do I configure ES to listen on http.port 9200 and 9500 ?

I've tried a couple variations in the config but afaict ES always picks only one port

--
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/d7538aea-ebac-470a-b2b4-75cf66cd52bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/etPan.53844882.38437fdb.1e56%40MacBook-Air-de-David.local.
For more options, visit https://groups.google.com/d/optout.


(Lance Lakey) #3

Leave port 9200 open to everything but only allow search requests so that
all web clients can access ES but can only search

Configure application servers to use port 9500 to communicate with ES
Configure firewalls to only allow application servers access to ES port 9500
Allow all commands on port 9500
Eventually set up authentication on port 9500

On Tuesday, May 27, 2014 1:10:52 AM UTC-7, David Pilato wrote:

You can not do that.

What is the use case?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 27 mai 2014 à 10:07:40, Lance Lakey (lance...@gmail.com <javascript:>)
a écrit:

How do I configure ES to listen on http.port 9200 and 9500 ?

I've tried a couple variations in the config but afaict ES always picks
only one port

--
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:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/d7538aea-ebac-470a-b2b4-75cf66cd52bf%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/d7538aea-ebac-470a-b2b4-75cf66cd52bf%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/9f8e47eb-e163-4dde-a079-328d351bd40a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Drew Raines) #4

Lance Lakey wrote:

Leave port 9200 open to everything but only allow search
requests so that all web clients can access ES but can only
search

Configure application servers to use port 9500 to communicate
with ES Configure firewalls to only allow application servers
access to ES port 9500 Allow all commands on port 9500
Eventually set up authentication on port 9500

Use a proxy listening on different ports (or vhosts, each with
different authorization) to redirect to the single ES port.

Drew

--
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/m238fuyk54.fsf%40mid.raines.me.
For more options, visit https://groups.google.com/d/optout.


(system) #5