# Running ES on two IP addresses

**URL:** https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157
**Category:** Elasticsearch
**Created:** [August 9, 2013, 9:54pm UTC](https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157 "2013-08-09T21:54:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Faillissements\_Dossi](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Faillissements\_Dossi](https://discuss.elastic.co/u/Faillissements_Dossi)
#### Post date: [August 9, 2013, 9:54pm UTC](https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157/1 "2013-08-09T21:54:43Z")

</div>

Hi,

I would like to setup ES so that it is accessible from an internal and an  
external IP address.

So both [http://192.168.1.x:9200](http://192.168.1.x:9200) and [http://46.182.xx.xx:9200](http://46.182.xx.xx:9200) will work.

I can't find anything in the documentation on this subject.

Please advice.

Thanks, Marcel

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Norberto\_Meijome](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@Norberto\_Meijome](https://discuss.elastic.co/u/Norberto_Meijome)
#### Post date: [August 10, 2013, 3:08am UTC](https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157/2 "2013-08-10T03:08:58Z")

</div>

Have u tried it? Does it not work? By default, it will bind to all you  
interfaces, on the ports needed for each protocol.  
On 10/08/2013 7:54 AM, "Faillissements Dossier" [ronald@binqmedia.nl](mailto:ronald@binqmedia.nl) wrote:

> Hi,
> 
> I would like to setup ES so that it is accessible from an internal and an  
> external IP address.
> 
> So both [http://192.168.1.x:9200](http://192.168.1.x:9200) and [http://46.182.xx.xx:9200](http://46.182.xx.xx:9200) will work.
> 
> I can't find anything in the documentation on this subject.
> 
> Please advice.
> 
> Thanks, Marcel
> 
> --  
> 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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Faillissements\_Dossi](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Faillissements\_Dossi](https://discuss.elastic.co/u/Faillissements_Dossi)
#### Post date: [August 10, 2013, 7:26am UTC](https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157/3 "2013-08-10T07:26:36Z")

</div>

It has been setup to use only external IP address.  
Transport\_address and http\_address are both bind to external IP

How do I include the internal IP?

Op vrijdag 9 augustus 2013 23:54:43 UTC+2 schreef Faillissements Dossier:

> Hi,
> 
> I would like to setup ES so that it is accessible from an internal and an  
> external IP address.
> 
> So both [http://192.168.1.x:9200](http://192.168.1.x:9200) and [http://46.182.xx.xx:9200](http://46.182.xx.xx:9200) will work.
> 
> I can't find anything in the documentation on this subject.
> 
> Please advice.
> 
> Thanks, Marcel

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:21am UTC](https://discuss.elastic.co/t/running-es-on-two-ip-addresses/13157/4 "2017-07-06T02:21:46Z")

</div>


