https://issues.apache.org/bugzilla/show_bug.cgi?id=55098

            Bug ID: 55098
           Summary: does not listen to IP4 when IP6 wildcard address is
                    used on host where IP6 is not bridged to IP4
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: [email protected]
          Reporter: [email protected]

Specifying a "Listen" directive which results in binding to the IPV6 wild card
address will cause Apache HTTPD to not bind to the IPV4 address. On hosts where
IPV6 data is not routed to corresponding IPV4 ports, this causes HTTPD to be
unreachable by IPV4.

When the IPV4 address is the wild card address, no error is emitted and the
server runs.

When the IPV4 address is a specific address, an error is emitted and the server
ends without fully starting service. The latter address is excluded by the
former.
An example error message is:

(98)Address already in use: AH00072: make_sock: could not bind to address
127.0.0.1:80
no listening sockets available, shutting down

An example combination of directives causing that error is

Listen [::]:80
Listen 127.0.0.1:80

An example combination of directives for the wild card addresses is

Listen 0.0.0.0:80
Listen [::]:80

On Linux, setting
sysctl net.ipv6.bindv6only=1
causes the IPV6 and IPV4 protocols not to be bridged.
net.ipv6.bindv6only=0
, which is the default, causes them to be bridged.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to