# OneAgent Failed to connect to the environment at port 443

**URL:** <https://community.dynatrace.com/t/oneagent-failed-to-connect-to-the-environment-at-port-443/37974>\
**Category:** Open Q&A\
**Tags:** installation, oneagent\
**Created:** [January 12, 2023, 3:00pm UTC](https://community.dynatrace.com/t/oneagent-failed-to-connect-to-the-environment-at-port-443/37974 "2023-01-12T15:00:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oriole237](https://avatars.discourse-cdn.com/v4/letter/o/f08c70/32.png) [@oriole237](https://community.dynatrace.com/u/oriole237)\
**Post date:** [January 12, 2023, 3:00pm UTC](https://community.dynatrace.com/t/oneagent-failed-to-connect-to-the-environment-at-port-443/37974/1 "2023-01-12T15:00:12Z")

</div>

Hi,

I had to install oneAgent once on a host machine for my first monitoring environment without any problem.

I had to create another environment with different email account and download oneAgent linked to it to install in the same machine after uninstalling the first version installed but I have this problem: failed to connect to port 443

but the installation was successful

Please what can I do ?

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [January 16, 2023, 9:52am UTC](https://community.dynatrace.com/t/oneagent-failed-to-connect-to-the-environment-at-port-443/37974/2 "2023-01-16T09:52:10Z")

</div>

Hello&nbsp;[@oriole237](https://community.dynatrace.com/user/58607)

The easier was is to check the One agent logs in error on /var/log/dynatrace/oneagent or ActiveGate logs and identify the exceptions encountered.

Are you able to do a telnet https://{environmentid}.live.dynatrace.com 443 from your host ?

Do you have a proxy where allowing the domain \*.live.dynatrace.com ?

Otherwise you could contact chat support with the exceptions identified on agent logs.

Regards.
