On Mon, Nov 8, 2010 at 12:54 PM, Ari King <ari.brandeis.king@xxxxxxxxx> wrote: > On Mon, Nov 8, 2010 at 12:34 PM, Jim Riggs <apache-lists@xxxxxxxx> 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx