# Nice to know, application detection rule failes

**URL:** <https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202>\
**Category:** Dynatrace Tips\
**Tags:** application-detection\
**Created:** [February 19, 2022, 10:30am UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202 "2022-02-19T10:30:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [February 19, 2022, 10:30am UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202/1 "2022-02-19T10:30:16Z")

</div>

Hello,

In below request header Dynatrace has detected that the request comes from domain localhost:8085

This is a intermediate service that gets its request from the actual server

 ![henk_stobbe_0-1645265653845.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/3/1390f40c426a6adb2174821d3541ee7efb50ec06.png)

Easy mistake to make is using the original server domain, but that will not work! You need to use the localhost:8085

If you start with the “My web application” the top included domain will show the referer domain from the Request Header not the localhost:8085 you need. So creating or adding to an application here will not work!

When you have created a detection rule with the localhost:8085 from scratch, in that application newly created application the top included domain will also contain the referer domain, but the reqeust will start show,

KR Henk

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [February 20, 2022, 4:22pm UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202/2 "2022-02-20T16:22:39Z")

</div>

Checking backtrace for the frontend services also helps in some cases.

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [February 21, 2022, 11:59am UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202/3 "2022-02-21T11:59:56Z")

</div>

Hi&nbsp;[@dannemca](https://community.dynatrace.com/user/18264),

Any short hint how to do this? we were tappling so far in the dark and using rather webinpect to backtrace… any generic recomendations how to proceed on this? or example?

Thanks,

Ingrida

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [February 21, 2022, 12:13pm UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202/4 "2022-02-21T12:13:42Z")

</div>

Hi&nbsp;[@Ingrida](https://community.dynatrace.com/user/41084)&nbsp;, you can try check for the frontend service backtrace, then on “Calls from unknow hosts” you may see the reffering pages that makes calls to the service.

Try to set up rules for these pages and see.

 ![Captura de tela 2022-02-21 091138.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/c/bcb638b798fc703a13c9eebfe0283a566ca0e914.png)

---

<div class="post-metadata">

**Author:** ![Ingrida](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ingrida/32/13926_2.png) [@Ingrida](https://community.dynatrace.com/u/Ingrida)\
**Post date:** [February 25, 2022, 10:27am UTC](https://community.dynatrace.com/t/nice-to-know-application-detection-rule-failes/34202/5 "2022-02-25T10:27:35Z")

</div>

Thanks&nbsp;[@dannemca](https://community.dynatrace.com/user/18264),

It brings indeed interesting insights to be used for traffic identification

Best regards,

I.
