1

The answer, as with many things CentOS, is found in SELinux! While the apache user is able to open network connections, the httpd process (regardless of which user it's running as) isn't by default. The setting that controls it is httpd_can_network_connect, which can be set with setsebool -P httpd_can_network_connect 1 Thanks to this question for helping me ...


1

As Tim advised on his comment, you will need to investigate your VM further. You said that you are getting a DB Connection error, you can start there and identify first its root cause. Also, recommendations are just suggestions based on the performance of your VM. As stated in the GCP documentation: Note: You might have valid reasons for running a ...


Only top voted, non community-wiki answers of a minimum length are eligible