[proxy:error] Permission denied: http: attempt to connect to ( failed

OS: CentOS Stream release 9
HTTP Server: Apache

My Seafile system was running fine, for almost a year now, and I just upgraded the packages on the system for security and functionality. I then rebooted. I do not think the dnf update had anything to do with it, but the server will not connect now.

The error is:

Thu Sep 07 18:56:10.591812 2023] [proxy:error] [pid 5338:tid 5380] (13)Permission denied: AH00957: http: attempt to connect to ( failed
[Thu Sep 07 18:56:10.592107 2023] [proxy_http:error] [pid 5338:tid 5380] [client] AH01114: HTTP: failed to make connection to backend:

Any help is greatly appreciated!

I found the problem, its SElinux. I guess when I upgraded to the latest version of Stream 9 it changed something in SElinux. I am going to track it down now.

The final fix was:

setsebool -P httpd_can_network_connect 1

Just so you all know!!!


1 Like