OLS can't access WordPress database hostname

I have an Apache server with a few static html sites and one WordPress site already set up and running on it. I wanted to use OLS on this server and installed it successfully.

I successfully set up Apache to listen to alternative ports for 80 and 443 (8080 & 44380) and let OLS listen to those ports instead. The static html sites are working fine after setting up the virtual hosts and mapping them to the listeners in the OLS dashboard.

The WordPress site however can't seem to establish a connection to the MariaDB database. Accessing the WordPress site via the Apache port works fine.

How to let OLS access the existing WordPress db?

N.B. mysql(mariadb) is running on the default 3306 port.
Last edited: