httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nader Zeid <>
Subject [users@httpd] ProxyPass directive fails on IPv6 address:
Date Sun, 29 Jun 2014 21:18:32 GMT
I'm using Apache to front-end some servers listening on loopback but the
ProxyPass directive doesn't like IPv6 addresses.

I spin up a server on IPv6 address [::1]:8001, confirmed working using cURL
and shown here on nestat:

tcp        0      0 ::1:8001                    :::*
 LISTEN      1348/./WebToolsTest

I use the following ProxyPass directive:

ProxyPass / http://[::1]:8001/
ProxyPassReverse / http://[::1]:8001/

However, when I try to connect using any HTTP client, I get the following
error in logs:

[Sun Jun 29 21:12:40 2014] [error] [client] proxy: DNS
lookup failure for: ::1 returned by /

When I switch everything to IPv4, i.e. bind the back end to
and switch ProxyPass, *everything* works fine.

Why would mod_proxy accept IPv4 addresses but not IPv6? Why is it doing a
DNS lookup on IPv6 addresses?



View raw message