Apache ModProxy issue
Hi,
I am trying to configure apache to act as a reverse proxy for my nodejs application on a centos machine. However, I am receiving an error in the error log saying Code:
[Thu Nov 29 18:39:26 2012] [error] proxy: HTTP: disabled connection for (localhost) Code:
<VirtualHost *:80> |
Hi,
This could be a SELinux permissions problem. Disable it temporarily running Code:
setenforce 0 Regards |
Thanks for that. But SELinux is disabled. I got the fallowing message when running that command.
Code:
setenforce: SELinux is disabled |
Quote:
Also better ditch the <Location ..> and use just: Code:
ProxyPass / http://localhost:3001/ |
Thanks, That solved.
I had started apache prior to the nodejs app, assuming every request would be proxied at that instance. However, this time I started the nodejs app first and then restarted apache, and it worked. Thanks for your help. |
All times are GMT -5. The time now is 01:56 AM. |