On Mon, Nov 8, 2010 at 12:54 PM, Ari King <ari.brandeis.k...@gmail.com> wrote:
> On Mon, Nov 8, 2010 at 12:34 PM, Jim Riggs <apache-li...@riggs.me> wrote:
>> On Nov 8, 2010, at 10:50 AM, Ari King wrote:
>>
>>> I've configured httpd (version 2.2) to be a proxy for Tomcat (version
>>> 6.0.26) on a single CentOS (version 5 Final) server; unfortunately,
>>> all requests via the proxy time out. If I bypass the proxy using the
>>> full tomcat url, the expected data is returned.
>>>
>>> Following are the proxy configurations I saved in the httpd.conf file.
>>> I've checked both the httpd logs and tomcat logs for errors, but
>>> neither have any errors. Anyone know what could be wrong?
>>>
>>> ProxyPass /service http://xxx.xxx.xxx.xxx:8080/service
>>> ProxyPassReverse /service http://xxx.xxx.xxx.xxx:8080/service
>>
>> Are httpd and Tomcat running on the same box?  Are there firewall/iptables 
>> rules on the box(es) or somewhere between the boxes that are >denying 
>> httpd's requests to port 8080?
>
> Httpd and Tomcat are running on the same box and I've configured the
> iptables to allow requests on port 8080.
>
> The proxy works when request originate from the server itself. For
> example, from the server that has Httpd & Tomcat running if I traverse
> to http://localhost/service or http://xxx.xxx.xxx.xxx/service -- the
> proxy will work. However if I use any other computer on the network
> the proxy fails/times out.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Did you allow port 80, or whatever other port you have httpd listening on?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to