API Portal Firewalld prevents any communications between the portal services and the mysql database installed on the host

book

Article ID: 130015

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction



When we restart the Portal stack (docker rm stack portal, and then run ./portal.sh), you will notice that the firewalld service kicks off but prevents any communications between the portal services and the mysql database installed on the host.




 

Environment

Env: Portal 4.2.9.3

Resolution

You can configure the firewalld with the following commands:

  >> firewall-cmd --permanent --add-port=3306/tcp
  >> firewall-cmd --reload