Subject: pkg/12655: apache6 does not listen to IPv4
To: None <gnats-bugs@gnats.netbsd.org>
From: Kimmo Suominen <kim@tac.nyc.ny.us>
List: netbsd-bugs
Date: 04/14/2001 17:31:56
>Number:         12655
>Category:       pkg
>Synopsis:       apache6 does not listen to IPv4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 14 14:32:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kimmo Suominen
>Release:        2001-04-09, pkgsrc 2001-04-08
>Organization:
Kimmo Suominen
>Environment:
System: NetBSD nix.suominen.org 1.5U NetBSD 1.5U (GW-GENERIC) #17: Tue Apr 10 14:47:48 EDT 2001 kim@nix.suominen.org:/net/nix/src-3/NetBSD/cvsroot/src/sys/arch/i386/compile/GW-GENERIC i386
Architecture: i386
Machine: i386
>Description:
With the default configuration httpd only listens to IPv6
connections.  Connections over IPv4 are refused.
>How-To-Repeat:
Install the apache6 package, run "apachectl start" and try running
"telnet 127.0.0.1 80".  You'll get a "connection refused" message.
>Fix:
The workaround is to add Listen lines to httpd.conf, e.g.

    Listen :: 80
    Listen 0.0.0.0 80

The reminds me of a similar problem with postfix, but with postfix
changes in the configuration could not enable IPv4 either.
>Release-Note:
>Audit-Trail:
>Unformatted: