msielski
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
[SOLVED] could not connect to server: Permission denied
in PostgreSQL
Posted
Just wanted to post a message for anyone who finds this via Google like I did.
If you don't want to be using SELinux then disabling it is an option, but if you prefer the other protection it offers you may just want to enable the specific permission to allow Apache to issue HTTP connections. As root, running:
setsebool -P httpd_can_network_connect 1
should allow this.