Once again, SELinux bit me.. what a pain. It’s good, I’m sure for something. but dang, it’s always to blame.
Trying to set up an Apache reverse proxy. Kept getting a 503 error,
Permission denied: AH00957: HTTP: attempt to connect to 127.0.0.1:3000 (127.0.0.1) failed
Did some googling, and thanks to Justin Ellison @ sysadminsjourney.com, he saved the day.
Simple command to allow the reverse proxy:
/usr/sbin/setsebool -P httpd_can_network_connect 1
Found the assist here:
http://sysadminsjourney.com/content/2010/02/01/apache-modproxy-error-13permission-denied-error-rhel/