# APM server not found

**URL:** <https://discuss.elastic.co/t/apm-server-not-found/174235>\
**Category:** APM\
**Created:** [March 28, 2019, 5:24am UTC](https://discuss.elastic.co/t/apm-server-not-found/174235 "2019-03-28T05:24:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Kim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_kim/32/42230_2.png) [@John\_Kim](https://discuss.elastic.co/u/John_Kim)\
**Post date:** [March 28, 2019, 5:24am UTC](https://discuss.elastic.co/t/apm-server-not-found/174235/1 "2019-03-28T05:24:22Z")

</div>

If you are asking about a problem you are experiencing, please use the following template, as it will help us help you. If you have a different problem, please delete all of this text 🙂

**Kibana version** :  
6.4.2  
**Elasticsearch version** :  
6.4.2  
**APM Server version** :  
6.4.2  
**APM Agent language and version** :  
Python Flask || 4.2

**Description of the problem including expected versus actual behavior. Please include screenshots (if relevant)**:

I've set Elasticsearch, Logstash, and Kibana on my AWS EC2 server. In addition, I've installed flask APM version 4.2 and APM 6.4.2 on my application server. However, when I launch my flask server, I've got an error which is that 'localhost:8200' page not found. (404) How can I resolve this problem?

**Steps to reproduce** :

1. Install ELK on ec2 server.
2. Install Flask APM agent and APM server on my application server (It is also ec2)
3. Launch the server code.

**Provide logs and/or server output (if relevant)**:  
28-03-2019:05:21:52,321 ERROR [base.py:261] Failed to submit message: 'HTTP 404: 404 page not found\n'  
Traceback (most recent call last):  
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/elasticapm/transport/base.py", line 209, in \_flush  
self.send(data)  
File "/home/ubuntu/anaconda3/lib/python3.6/site-packages/elasticapm/transport/http.py", line 100, in send  
raise TransportException(message, data, print\_trace=print\_trace)  
elasticapm.transport.base.TransportException: HTTP 404: 404 page not found

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [March 28, 2019, 6:59am UTC](https://discuss.elastic.co/t/apm-server-not-found/174235/2 "2019-03-28T06:59:29Z")

</div>

Hi and thanks for reaching out 🙂  
Please note that Python agent of versions 4+ is only compatible with APM Server 6.5+ . (see more in [the Python agent's documentation](https://www.elastic.co/guide/en/apm/agent/python/current/upgrading-4.x.html)).

---

<div class="post-metadata">

**Author:** ![John\_Kim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/john_kim/32/42230_2.png) [@John\_Kim](https://discuss.elastic.co/u/John_Kim)\
**Post date:** [March 29, 2019, 4:09am UTC](https://discuss.elastic.co/t/apm-server-not-found/174235/3 "2019-03-29T04:09:19Z")

</div>

@Eyal_Koren Thanks! 🙂 It is very helpful.

---

<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 19, 2019, 12:09am UTC](https://discuss.elastic.co/t/apm-server-not-found/174235/4 "2019-04-19T00:09:22Z")

</div>

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