Subject: Re: Apache ??? was Re: packages and basic system service configuration
To: Josh Kuperman <josh@saratoga.lib.ny.us>
From: Bill Studenmund <wrstuden@zembu.com>
List: port-mac68k
Date: 02/13/2001 18:23:44
On Tue, 13 Feb 2001, Josh Kuperman wrote:

> I'm completely mystified. I can't connect using lynx or telnetting to
> port 80 (this is the port in the httpd.conf file). I took your
> suggestion of 'netstat -a' and it seems that I'm running a tcp6
> service. I think I missed something somewhere or installed the wrong
> version. (Guess I'll remove the one I got and install something else.)
> 
> bash-2.04$ netstat -a
> Active Internet connections (including servers)
> Proto Recv-Q Send-Q  Local Address          Foreign Address        State
> tcp        0      0  roberta.gw-josh-.telne 192.168.1.100.49239    ESTABLISHED
> tcp        0      0  roberta.gw-josh-.telne saratoga.lib.ny..63158 ESTABLISHED
> tcp        0      0  *.telnet               *.*                    LISTEN
> Active Internet6 connections (including servers)
> Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
> tcp6       0      0  *.www                  *.*                    LISTEN
> Active UNIX domain sockets
> Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
>  1029780 dgram       0      0        0  100d380        0        0
>  1029000 dgram       0      0  58ead50        0  106d380        0 /var/run/log

Check the config file. The one which does tcp6 _should_ also do tcp(4).

Someone was asking about this on a chat line I'm on, and someone else
mentioned:

Listen :: 80
Listed 0.0.0.0 80

as the way to get both tcp & tcp6 listening.

Take care,

Bill