# Apm server after starting automatically stopped in windows

**URL:** <https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [September 7, 2021, 1:22pm UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535 "2021-09-07T13:22:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pavan\_Naidu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavan_naidu/32/81768_2.png) [@Pavan\_Naidu](https://discuss.elastic.co/u/Pavan_Naidu)\
**Post date:** [September 7, 2021, 1:22pm UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/1 "2021-09-07T13:22:22Z")

</div>

**Fresh install apm server on windows**

 ![IMG_20210907_172935](https://us1.discourse-cdn.com/elastic/original/3X/e/0/e0acf2f6592724192a365f3a4d49cf419971743b.jpeg)   
**?**

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [September 7, 2021, 2:12pm UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/2 "2021-09-07T14:12:06Z")

</div>

Hi @Pavan_Naidu , could you please provide some more details of what you'd like help with and which versions you are using (OS, apm-server), etc.?

---

<div class="post-metadata">

**Author:** ![Pavan\_Naidu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavan_naidu/32/81768_2.png) [@Pavan\_Naidu](https://discuss.elastic.co/u/Pavan_Naidu)\
**Post date:** [September 7, 2021, 4:59pm UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/3 "2021-09-07T16:59:36Z")

</div>

Windows 10  
Apm server 7.14.1

---

<div class="post-metadata">

**Author:** ![Pavan\_Naidu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pavan_naidu/32/81768_2.png) [@Pavan\_Naidu](https://discuss.elastic.co/u/Pavan_Naidu)\
**Post date:** [September 7, 2021, 5:00pm UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/4 "2021-09-07T17:00:32Z")

</div>

And one more doubt is how to send data from apm server to elasticsearch

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [September 8, 2021, 7:34am UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/5 "2021-09-08T07:34:13Z")

</div>

Is there anything showing up in the Windows Event logs indicating why APM Server is not running? Could you try to manually start the service and see if it logs an error?

Regarding connection from APM Server to Elasticsearch, you find details in the [apm-docs elasticsearch-output](https://www.elastic.co/guide/en/apm/server/current/elasticsearch-output.html) on how to configure the server to point to your Elasticsearch instance(s).

---

<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:** [September 29, 2021, 3:34am UTC](https://discuss.elastic.co/t/apm-server-after-starting-automatically-stopped-in-windows/283535/6 "2021-09-29T03:34:39Z")

</div>

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