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?
Make sure if httpd_can_network_connect is enabled
Run: setsebool -P httpd_can_network_connect on on your HostBill server