# Marvel or elasticsearch-head with embedded elasticsearch

**URL:** <https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488>\
**Category:** Elasticsearch\
**Created:** [August 27, 2014, 9:52am UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488 "2014-08-27T09:52:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clandestino\_bgd\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clandestino_bgd_2/32/1315_2.png) [@clandestino\_bgd\_2](https://discuss.elastic.co/u/clandestino_bgd_2)\
**Post date:** [August 27, 2014, 9:52am UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488/1 "2014-08-27T09:52:22Z")

</div>

Hello,  
I want to use ES as embedded in my spring boot / spring-data based app.  
That means I will have local node running inside my app. This is managed by  
spring-data-elasticsearch.  
How can I use marvel or elasticsearch-head in this case?  
if I set http.enabled property, shouldn't I be able to access  
localhost:9200?  
It seems this is not the case. At least I cannot do that with  
elasticsearch-head launched on localhost:9100.

I am using ES 1.1.1 btw.

Thanks for any help.  
Milan

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/eb5464db-e446-48ea-ae6a-fde32d0e98ff%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eb5464db-e446-48ea-ae6a-fde32d0e98ff%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 27, 2014, 10:15am UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488/2 "2014-08-27T10:15:09Z")

</div>

You cannot launch/access a plugin on a different port, it has to be on the  
same port that ES is running on.

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAEM624YKfyfkn\_ffx6KojZaOjHzYM5RgiELFASUW96BjNg%3D7AQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEM624YKfyfkn_ffx6KojZaOjHzYM5RgiELFASUW96BjNg%3D7AQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![clandestino\_bgd\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/clandestino_bgd_2/32/1315_2.png) [@clandestino\_bgd\_2](https://discuss.elastic.co/u/clandestino_bgd_2)\
**Post date:** [August 27, 2014, 10:42am UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488/3 "2014-08-27T10:42:23Z")

</div>

Thanks, although not sure I understand.  
Let me try to explain further.

I have an spring boot app with elasticsearch embedded.  
app has an embedded tomcat and is available on localhost 8080.  
How can I view ES stats and indices in this case.  
I have been using elasticsearch-head for a while, but always on standalone  
instance. Completely new to Marvel, but I guess it should work in the  
similar way but connecting to the cluster/node through http, port 9200.  
So, when I enter localhost:9200 in elasticseach-head, it connects to the  
cluster and display node stats when I launch standalone ES server.  
But how can I do that for embedded node which lives inside my app?

curl localhost:9200 returns curl: (7) couldn't connect to host  
curl localhost:8080 will return my app page.

On Wednesday, 27 August 2014 12:15:42 UTC+2, Mark Walkom wrote:

> You cannot launch/access a plugin on a different port, it has to be on the  
> same port that ES is running on.

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/a5a405b4-1e06-4f34-ac82-2990a106c1d3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a5a405b4-1e06-4f34-ac82-2990a106c1d3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Reeebuuk](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@Reeebuuk](https://discuss.elastic.co/u/Reeebuuk)\
**Post date:** [November 15, 2014, 5:21pm UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488/4 "2014-11-15T17:21:22Z")

</div>

Hi, I have the same issue.

Did you found a solution maybe?

---

<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, 12:49am UTC](https://discuss.elastic.co/t/marvel-or-elasticsearch-head-with-embedded-elasticsearch/19488/5 "2017-07-06T00:49:49Z")

</div>


