# Usiging different port than 80 in AWX

**URL:** <https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [October 13, 2023, 2:16pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698 "2023-10-13T14:16:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkoci](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dkoci/32/815_2.png) [@dkoci](https://forum.ansible.com/u/dkoci)\
**Post date:** [October 13, 2023, 2:16pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698/1 "2023-10-13T14:16:30Z")

</div>

Hi.  
Is it possible to use different port than 80 in awx? Awx operator is running in Openshift which doesnt allow to use ports lower than 1024. It is possible to use anyuid scc which allows using ports lowet than 1024, but it is a security risk.

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [October 13, 2023, 4:17pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698/2 "2023-10-13T16:17:53Z")

</div>

Hey,

I’m guessing you are talking about the exposed route port. From your previous post I got that you deployed AWX from awx-operator helm chart, using a ClusterIP service and Route.  
I just looked through config documentation, especially the [networking part](https://github.com/ansible/awx-operator/blob/devel/docs/user-guide/network-and-tls-configuration.md#ingress-type) and it doesn’t seem possible to override this value. Someone correct me if I’m wrong.

Still, you should be able to hot-edit your route specs to expose another port.

According to the same documentation page, you could also use a LoadBalancer service type instead of ClusterIP + Route, though you might not have an external LB available in your setup.

---

<div class="post-metadata">

**Author:** ![TheRealHaoLiu](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/therealhaoliu/32/100_2.png) [@TheRealHaoLiu](https://forum.ansible.com/u/TheRealHaoLiu)\
**Post date:** [October 13, 2023, 5:27pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698/3 "2023-10-13T17:27:10Z")

</div>

hey @dkoci i see that you have a separate topic that’s related to this lets consolidate the conversation over there since the other topic may have more relevent context

---

<div class="post-metadata">

**Author:** ![dkoci](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dkoci/32/815_2.png) [@dkoci](https://forum.ansible.com/u/dkoci)\
**Post date:** [October 13, 2023, 5:55pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698/4 "2023-10-13T17:55:27Z")

</div>

@ptn I have read the documentation, and it is indeed not possible to change the port, unless the service type is LoadBalancer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [November 12, 2023, 5:55pm UTC](https://forum.ansible.com/t/usiging-different-port-than-80-in-awx/1698/5 "2023-11-12T17:55:57Z")

</div>

Closed on November 12, 2023, 5:55pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
