httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ari King <ari.brandeis.k...@gmail.com>
Subject Re: [users@httpd] Httpd proxy of Tomcat instance continually timing out
Date Mon, 08 Nov 2010 17:54:35 GMT
On Mon, Nov 8, 2010 at 12:34 PM, Jim Riggs <apache-lists@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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message