Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 10:31:50 +0200 (EET)
From:      Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>
To:        "Ian Larsen" <drblast01@hotmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Problem with apache
Message-ID:  <200303190831.h2J8Voil006341@pm514-9.comsys.ntu-kpi.kiev.ua>
In-Reply-To: <F149he3WYIgoFT3kMUV00009284@hotmail.com.lucky.freebsd.questions>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Mar 2003 06:35:12 +0000 (UTC) in lucky.freebsd.questions, Ian Larsen wrote:
> I've got two FreeBSD boxes on my home network.  They are both assigned local 
> IP addresses through DHCP.
> 
> I've just installed Apache on both of them tonight, and I can access one 
> machine just fine using its local IP address. (192.168....)  The other, I 
> can telnet to port 80 on it using:
> 
> $ telnet localhost 80
> Trying ::1..
> Connected to localhost.
> Escape character is '^]'
> 
> But if I try using its IP address, even the loopback, the connection is 
> refused:
> 
> $ telnet 127.0.0.1 80
> Trying 127.0.0.1...
> telnet: connect to address 127.0.0.1: Connection refused
> telnet: unable to connect to remote host
> 

Following checks should help:

1.	Check on which interfaces your Apache server works: "sockstat -l".
2.	Check NICs IP addresses: "ifconfig -a"
3.	Check routing table: "netstat -rn"
4.	Check IPFW "ipfw l" (and/or IPF "ipfstat -io") tables.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303190831.h2J8Voil006341>