# Environment Activegate API

**URL:** <https://community.dynatrace.com/t/environment-activegate-api/35219>\
**Category:** Dynatrace Tips\
**Tags:** activegate\
**Created:** [May 20, 2022, 7:51am UTC](https://community.dynatrace.com/t/environment-activegate-api/35219 "2022-05-20T07:51:35Z")\
**Posts on this page:** 2\
**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:** [May 20, 2022, 7:51am UTC](https://community.dynatrace.com/t/environment-activegate-api/35219/1 "2022-05-20T07:51:35Z")

</div>

Hello,

Working on K8 OneAgent monitoring, I wanted to use an Environment activeGate to make the API- connection to the cluster.

Spent a lot of time making the connection work on AG port 443, then I zoomed in on the connectivity picture:

 ![henk_stobbe_0-1653032776473.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/9/19f19bc84011821646d333d2e780e51992c8ce33.png)

The REST-API on the Environment AG is listening on port 9999!

So connections is all connections (-;

 ![henk_stobbe_1-1653032941864.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/4/541d199de8c48fd4a943f141b44668a63a1bbd43.png)

Maybe my mistake helps somebody in the future!

KR Henk

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 11, 2023, 2:52pm UTC](https://community.dynatrace.com/t/environment-activegate-api/35219/2 "2023-01-11T14:52:24Z")

</div>

Thanks for Sharing this&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)
