# ActiveGate port number change

**URL:** <https://community.dynatrace.com/t/activegate-port-number-change/44329>\
**Category:** Dynatrace Managed\
**Tags:** activegate, dynatrace-managed, cluster-management-console, managed-cluster\
**Created:** [February 27, 2024, 12:31pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329 "2024-02-27T12:31:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adminApmosys](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@adminApmosys](https://community.dynatrace.com/u/adminApmosys)\
**Post date:** [February 27, 2024, 12:31pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329/1 "2024-02-27T12:31:58Z")

</div>

Hi guys, I need to change my ActiveGate port number, that is 9999. Is it possible to change the port number as well as is this changed in UI as we can change for the cluster node in the UI? Please help…

---

<div class="post-metadata">

**Author:** ![Miguel\_RinconG](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/miguel_rincong/32/29455_2.png) [@Miguel\_RinconG](https://community.dynatrace.com/u/Miguel_RinconG)\
**Post date:** [February 27, 2024, 12:45pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329/2 "2024-02-27T12:45:11Z")

</div>

Hi,

the change is in the file /var/lib/dynatrace/gateway/config/custom.properties. You must add in the com.compuware.apm.webserver session,&nbsp; for example for the port 3050:

```markup
[com.compuware.apm.webserver]
port-ssl =3050

```

Then restart [activegate services.](https://docs.dynatrace.com/docs/setup-and-configuration/dynatrace-activegate/operation/stop-restart-activegate)

---

<div class="post-metadata">

**Author:** ![adminApmosys](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@adminApmosys](https://community.dynatrace.com/u/adminApmosys)\
**Post date:** [February 27, 2024, 12:48pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329/3 "2024-02-27T12:48:14Z")

</div>

Thanks Miguel does the changed port will listen to the dynatrace cluster .

---

<div class="post-metadata">

**Author:** ![adminApmosys](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@adminApmosys](https://community.dynatrace.com/u/adminApmosys)\
**Post date:** [February 27, 2024, 12:49pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329/4 "2024-02-27T12:49:06Z")

</div>

can we also change the cluster node ports and connect it to the changed port of activegate.

---

<div class="post-metadata">

**Author:** ![Miguel\_RinconG](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/miguel_rincong/32/29455_2.png) [@Miguel\_RinconG](https://community.dynatrace.com/u/Miguel_RinconG)\
**Post date:** [February 27, 2024, 12:58pm UTC](https://community.dynatrace.com/t/activegate-port-number-change/44329/5 "2024-02-27T12:58:07Z")

</div>

The change is in the activegate,&nbsp; I don’t recommend change the ports of the dynatrace cluster.
