If you are struggling with Apps connection problems and you are sure that it's not a firewall which blocks the connection you may need to check SELinux which can block connections made by Apache.

What are the possible solutions?