# Two Logstash Instances - Windows

**URL:** https://discuss.elastic.co/t/two-logstash-instances-windows/50724
**Category:** Logstash
**Created:** [May 23, 2016, 1:47pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724 "2016-05-23T13:47:17Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 23, 2016, 1:47pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/1 "2016-05-23T13:47:17Z")

</div>

Hi,  
I'm trying to run two instances of Logstash 1.5.0 on W2012 server.

Getting:-  
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9010; nested exception is:  
java.net.BindException: Address already in use: JVM\_Bind

Can anyone tell me how this should be set up? Running two instances should not be impossible, right?

Many thanks.

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 23, 2016, 9:44pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/2 "2016-05-23T21:44:09Z")

</div>



---

<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: [May 25, 2016, 8:50am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/3 "2016-05-25T08:50:47Z")

</div>

> [@Kryten](#):
>
> Running two instances should not be impossible, right?

It's not, but you cannot have two instances of anything trying to use the same port.

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 25, 2016, 10:46am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/4 "2016-05-25T10:46:30Z")

</div>

I completely agree.  
Its the part about not being able to find where to change the port number (on Windows) that was painful....

Now that someone (not from here) gave me a push in the right direction I have three instances of Logstash purring away quite happily on W2012 server...

Now... if only someone was able to explain how to use locally made plugins and actually get Logstash to recognize and use them. if EVERY there was a need for a walkthrough - that's got to be it. Anyone? Even if someone was willing to explain it to me I'd happy put up a page somewhere de-mystifying how to actually get offline plugins to run.

Yes. I'm frustrated.

---

<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: [May 25, 2016, 9:41pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/5 "2016-05-25T21:41:07Z")

</div>

> [@Kryten](#):
>
> how to actually get offline plugins to run

What do you mean by this? What are you trying to do? What have you tried?

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 25, 2016, 11:40pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/6 "2016-05-25T23:40:59Z")

</div>

Hi Mark

I've been struggling with how to install and use local LS plugins ever since the new plugin manager was introduced.

Have posted here asking for assistance lots of times but sadly never a reply.

See here:

> [@Logstash local plugin Install Issues](https://discuss.elastic.co/t/logstash-local-plugin-install-issues/44006):
>
> I would really appreciate some input regarding how to install locally manufactured plugins. There seems to be a bit of a black hole in this area where Logstash (testing with 2.2) is telling me that the plugin installed okay, but: Does not show up with "plugin list". Referencing the plugin in a Logstash conf file results in a Couldn't find any filter plugin named 'mypluginname' error. The procedure I have used is this: I made a local file structure as described here: [https://www.elastic.co/gu…](https://www.elastic.co/guide/en/logstash/current/_how_to_write_a_logstash_filter_plugin.html)

Thanks for your interest.

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 26, 2016, 11:46pm UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/7 "2016-05-26T23:46:17Z")

</div>

Anyone?

I'm still trying to find a decent walk through about how to locally install and run logstash plugins without having to use GitHub or anything other than local files.

Pretty please?

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 28, 2016, 1:27am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/8 "2016-05-28T01:27:40Z")

</div>

Bump!  
Would the offer of a small bounty help?

---

<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: [May 28, 2016, 1:45am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/9 "2016-05-28T01:45:41Z")

</div>

You'd get better luck bumping the other thread with the info in there,

---

<div class="post-metadata">

### Author: ![Kryten](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@Kryten](https://discuss.elastic.co/u/Kryten)
#### Post date: [May 28, 2016, 6:13am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/10 "2016-05-28T06:13:58Z")

</div>

Have bumped that one too.

Care to speculate on why it's so hard to get information about this subject?

---

<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, 4:55am UTC](https://discuss.elastic.co/t/two-logstash-instances-windows/50724/11 "2017-07-06T04:55:46Z")

</div>


