# Running multiple servers in one command

**URL:** <https://discuss.elastic.co/t/running-multiple-servers-in-one-command/300578>\
**Category:** Elasticsearch\
**Created:** [March 24, 2022, 1:34pm UTC](https://discuss.elastic.co/t/running-multiple-servers-in-one-command/300578 "2022-03-24T13:34:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_vermex](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_vermex/32/101267_2.png) [@alex\_vermex](https://discuss.elastic.co/u/alex_vermex)\
**Post date:** [March 24, 2022, 1:34pm UTC](https://discuss.elastic.co/t/running-multiple-servers-in-one-command/300578/1 "2022-03-24T13:34:26Z")

</div>

Hi,  
Each folder(Elasticsearch,Logstash,Kibana) runs a completely different type of server.  
They have to have 3 command instances up at the same time.  
Is there a way I can run the following commands within each folder from a single command instance?  
`elasticsearch` needs to run = `elasticsearch.bat`

`kibana` needs to run = `kibana.bat`

`logstash` needs to run = `logstash -f logstash.conf`

Any help would be sincerely appreciate!  
Thanks!

---

<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:** [March 27, 2022, 11:50pm UTC](https://discuss.elastic.co/t/running-multiple-servers-in-one-command/300578/2 "2022-03-27T23:50:56Z")

</div>

> [@alex\_vermex](#):
>
> Is there a way I can run the following commands within each folder from a single command instance?

No, you will need to run the command 3 times.

---

<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:** [April 24, 2022, 11:51pm UTC](https://discuss.elastic.co/t/running-multiple-servers-in-one-command/300578/3 "2022-04-24T23:51:20Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
