AWX Firewall Issue

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

Port 80 over http or 443 over https?

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)

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

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.