Bug 54878 - Multiple Listen directives prevent server to start on some valid configurations
Summary: Multiple Listen directives prevent server to start on some valid configurations
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Core (show other bugs)
Version: 2.4.4
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 20:47 UTC by Vincent Deffontaines
Modified: 2013-05-22 17:39 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Deffontaines 2013-04-23 20:47:15 UTC
Listen 127.0.0.1:443
Listen [::]:443

These two config lines are valid, and should work together. Httpd is expected to bind on the sole IPv4 address I mentionned, and on [::].

They result with httpd refusing to start.

(98)Address already in use: make_sock: could not bind to address [::]:443


This bug can also be reproducted on 2.2.22. I tend to suspect it has been around since IPv6 was implemented into httpd at all.
Comment 1 Vincent Deffontaines 2013-04-23 20:50:34 UTC
Listen 0.0.0.0:443
Listen [::]:443

These do work and might constitue a workaround on some configurations.