Phenomenon:
The Apache error log is as follows:
[Wed Feb 08 05:53:54.633904 2017] [proxy_http:error] [pid 29252] [client 172.30.1.26:21397] AH01114: HTTP: failed to make connection to backend: localhost [Wed Feb 08 05:54:22.880990 2017] [proxy:error] [pid 29249] (13)Permission denied: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
Solution:
/ usr / sbin / setsebool httpd_can_network_connect 1
If no error is reported after the above modification, execute the following command to make it take effect permanently:
/usr/sbin/setsebool -P httpd_can_network_connect 1