# AWX Firewall Issue

**URL:** <https://forum.ansible.com/t/awx-firewall-issue/33597>\
**Category:** AWX Project\
**Tags:** rhel, awx\
**Created:** [August 12, 2020, 9:06pm UTC](https://forum.ansible.com/t/awx-firewall-issue/33597 "2020-08-12T21:06:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carlos\_Reyes](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Carlos\_Reyes](https://forum.ansible.com/u/Carlos_Reyes)\
**Post date:** [August 12, 2020, 9:06pm UTC](https://forum.ansible.com/t/awx-firewall-issue/33597/1 "2020-08-12T21:06:21Z")

</div>

Hi,  
I am relatively new to Linux and AWX, so I apologize if what I ask is a basic question for many of you. I was able to successfully configure and get up and running AWX Tower on a RHEL 8 machine. The problem I have is that AWX management interface(Web) is only accessible when the firewall is disabled (when disabled I can login, when enabled I get an “A server error has ocurred” exception. I want the firewall to be enabled and add only those rules/ports that AWX requires.

1. What rules (ports) do I need to add into firewalld so AWX interface is accessible?
2. I tried adding ports 8080, 5432 and 8082 to the public zone in the firewall (permanent) but that didn’t work.  
Any thoughts?

Thanks for your help,  
Carlos

---

<div class="post-metadata">

**Author:** ![Wei-Yen\_Tan](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/wei-yen_tan/32/4111_2.png) [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Post date:** [August 12, 2020, 9:07pm UTC](https://forum.ansible.com/t/awx-firewall-issue/33597/2 "2020-08-12T21:07:34Z")

</div>

Port 80 over http or 443 over https?

---

<div class="post-metadata">

**Author:** ![Carlos\_Reyes](https://avatars.discourse-cdn.com/v4/letter/c/d6d6ee/32.png) [@Carlos\_Reyes](https://forum.ansible.com/u/Carlos_Reyes)\
**Post date:** [August 12, 2020, 9:13pm UTC](https://forum.ansible.com/t/awx-firewall-issue/33597/3 "2020-08-12T21:13:08Z")

</div>

Thank youu for your reply, Tan,  
Tried that as well and it didn’t work. Web interface is listening to port 8080. I also read on some forums that 8082 and 5432 are used internally by AWX (couldn’t find in official documentation if these 2 ports should be enabled)

---

<div class="post-metadata">

**Author:** ![Michael\_M1](https://avatars.discourse-cdn.com/v4/letter/m/e274bd/32.png) [@Michael\_M1](https://forum.ansible.com/u/Michael_M1)\
**Post date:** [August 12, 2020, 9:41pm UTC](https://forum.ansible.com/t/awx-firewall-issue/33597/4 "2020-08-12T21:41:11Z")

</div>

DId you try adding those ports to your firewall configuration? There is even an ansible module that can help you do that. 🙂

[https://docs.ansible.com/ansible/latest/modules/firewalld\_module.html#firewalld-module](https://docs.ansible.com/ansible/latest/modules/firewalld_module.html#firewalld-module)

Of course you would be using the ansible-playbook on the CLI to fix it so that it will allow you to then access AWX.
