# Not able to connect to APM of 8.15.2 version

**URL:** <https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996>\
**Category:** APM\
**Tags:** docker, agent-explorer\
**Created:** [October 17, 2024, 12:30pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996 "2024-10-17T12:30:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikascateina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikascateina/32/123762_2.png) [@vikascateina](https://discuss.elastic.co/u/vikascateina)\
**Post date:** [October 17, 2024, 12:30pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/1 "2024-10-17T12:30:47Z")

</div>

Hi,  
My apm is not connecting to elasticsearch.Below is my docker-compose file is below.  
services:  
elasticsearch:  
image: [docker.elastic.co/elasticsearch/elasticsearch:8.15.2](http://docker.elastic.co/elasticsearch/elasticsearch:8.15.2)  
container\_name: elasticsearch  
hostname: elasticsearch  
environment:  
- xpack.security.enabled=false  
- discovery.type=single-node  
- ES\_JAVA\_OPTS=-Xms1g -Xmx1g  
ulimits:  
memlock:  
soft: -1  
hard: -1  
nofile:  
soft: 65536  
hard: 65536  
volumes:  
- elastic\_data:/usr/share/elasticsearch/data/  
ports:  
- 9200:9200  
networks:  
- elk-network

APM:  
image: [docker.elastic.co/apm/apm-server:8.15.2](http://docker.elastic.co/apm/apm-server:8.15.2)  
container\_name: apm-server  
environment:  
- ELASTICSEARCH\_HOSTS=[http://elasticsearch:9200](http://elasticsearch:9200)  
- output.elasticsearch.hosts=["[http://elasticsearch:9200](http://elasticsearch:9200)"]  
- apm-server.host=0.0.0.0:8200  
- apm-server.ssl.enabled=false  
volumes:  
- /home/vikas/Videos/nousername-apm/apm-server:/usr/share/apm-server/  
ports:  
- 8200:8200  
depends\_on:  
- elasticsearch  
networks:  
- elk-network  
kibana:  
container\_name: kibana  
image: [docker.elastic.co/kibana/kibana:8.15.2](http://docker.elastic.co/kibana/kibana:8.15.2)  
environment:  
- ELASTICSEARCH\_HOSTS=[http://elasticsearch:9200](http://elasticsearch:9200)  
volumes:  
- ./kibana.yml:/usr/share/kibana/config/kibana.yml  
ports:  
- 5601:5601  
depends\_on:  
- elasticsearch  
networks:  
- elk-network  
volumes:  
elastic\_data: {}  
networks:  
elk-network:  
All the containers is up but in kibana it is showing .No APM Server detected. Please make sure it is running and you have updated to 7.0 or higher.  
Please can anyone help on this,it will be very grateful.Below is image of error.

 ![Screenshot from 2024-10-17 17-51-49](https://us1.discourse-cdn.com/elastic/original/3X/6/5/65eaf86a0dd97d54d3ab4efa502abd22b769b41d.png)

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 17, 2024, 12:52pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/2 "2024-10-17T12:52:02Z")

</div>

Hi @vikascateina,

Have you checked the APM server logs to make sure it is available and responding to pings? There may be errors or warnings that can help you figure out what is going on. I would also check the [troubleshooting guide](https://www.elastic.co/guide/en/observability/current/apm-troubleshoot-apm.html) to see if any of those steps yield any insights.

As an aside, I see you've disabled SSL and security settings. Is there a particular reason for that? It's not something we would recommend.

Let us know!

---

<div class="post-metadata">

**Author:** ![vikascateina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikascateina/32/123762_2.png) [@vikascateina](https://discuss.elastic.co/u/vikascateina)\
**Post date:** [October 17, 2024, 1:01pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/3 "2024-10-17T13:01:49Z")

</div>

Hi,  
The apm is up and I can ping.I want to check first that without username and password first it works or not.

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 21, 2024, 1:42pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/4 "2024-10-21T13:42:23Z")

</div>

Ok, thanks for confirming. Do you see any errors or warnings in the logs at all?

---

<div class="post-metadata">

**Author:** ![vikascateina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikascateina/32/123762_2.png) [@vikascateina](https://discuss.elastic.co/u/vikascateina)\
**Post date:** [October 22, 2024, 3:53am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/5 "2024-10-22T03:53:17Z")

</div>

No,I am not seeing any errors in any of my containers, including Elasticsearch, Kibana, and APM.

---

<div class="post-metadata">

**Author:** ![vikascateina](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikascateina/32/123762_2.png) [@vikascateina](https://discuss.elastic.co/u/vikascateina)\
**Post date:** [October 22, 2024, 12:30pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/6 "2024-10-22T12:30:55Z")

</div>

Could someone assist me with this?

---

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [October 23, 2024, 12:53pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996/7 "2024-10-23T12:53:43Z")

</div>

Hi @vikascateina,

It's difficult to say what the issue is without any errors or diagnostic information. Have you checked the [common problems](https://www.elastic.co/guide/en/observability/current/apm-common-problems.html#apm-no-data-indexed) troubleshooting to see if you can find any further information?
