# Why my host not communicate with new ActiveGate?

**URL:** <https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793>\
**Category:** Open Q&A\
**Tags:** activegate, network-zones, hosts-classic\
**Created:** [September 18, 2024, 4:00pm UTC](https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793 "2024-09-18T16:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aledang](https://avatars.discourse-cdn.com/v4/letter/a/e9a140/32.png) [@Aledang](https://community.dynatrace.com/u/Aledang)\
**Post date:** [September 18, 2024, 4:00pm UTC](https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793/1 "2024-09-18T16:00:56Z")

</div>

Hello everyone. I have installed two new ActiveGates for my environment and assigned them to a new network zone. In the deployment status section, I set the new network zone to a host, and:

- the host, after rebooting, is configured in the new network zone.
- However, the host is still communicating with the old ActiveGate (in the default network zone) and not with the new ones

Any suggestions?

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 19, 2024, 3:41am UTC](https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793/2 "2024-09-19T03:41:24Z")

</div>

Hi&nbsp;[@Aledang](https://community.dynatrace.com/user/80879)&nbsp;, did you check if you are able to reach the new AG from the OneAgent on the AG port? Could be that the OneAgent is unable to communicate to the new AG and defaulting to old using one?

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [September 19, 2024, 6:40am UTC](https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793/3 "2024-09-19T06:40:45Z")

</div>

Please check with oneagentctl that the new AG is present as a communication endpoints

> **[OneAgent configuration via command-line interface](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-configuration-via-command-line-interface)**
>
> Learn how to perform some OneAgent configuration tasks without the need to reinstall OneAgent.

Check if you can access the AG via the configured port (usually 9999)

You can create a diagnostic file and check the logs from the agent.

> **[OneAgent diagnostics](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/oneagent-troubleshooting/oneagent-diagnostics)**
>
> Learn how to run OneAgent diagnostics

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [September 20, 2024, 5:49am UTC](https://community.dynatrace.com/t/why-my-host-not-communicate-with-new-activegate/47793/4 "2024-09-20T05:49:33Z")

</div>

Hi&nbsp;[@Aledang](https://community.dynatrace.com/user/80879)

PFA example to modify the connection endpoints through the UI as alternative to [oneagent communications-oneagentctl](https://docs.dynatrace.com/docs/shortlink/oneagentctl#oneagent-communication)

1. specify environment ID
2. token with the required scope

 ![Peter_Youssef_0-1726811186701.png](https://global.discourse-cdn.com/dynatrace/original/2X/f/fe48220bf3897300b5946b5e85d68e636d153374.png)

Both connection endpoints modification methods are applicable the **trick** &nbsp;here:

- the server will keep sending the monitoring traffic to the old AG, until you stop Oneagent service \> restart the monitored processes \> Restart the oneagent service, it should work as expected.

Thanks.
