From owner-freebsd-questions@FreeBSD.ORG Thu Sep 23 08:16:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 628CF16A4CE for ; Thu, 23 Sep 2004 08:16:22 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 621C543D55 for ; Thu, 23 Sep 2004 08:16:21 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i8N8GGM7029098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 Sep 2004 09:16:16 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8N8GGsV029097; Thu, 23 Sep 2004 09:16:16 +0100 (BST) (envelope-from matthew) Date: Thu, 23 Sep 2004 09:16:16 +0100 From: Matthew Seaman To: Stanley Wright Message-ID: <20040923081616.GB28396@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Stanley Wright , freebsd-questions@freebsd.org References: <20040923014710.97212.qmail@web14308.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <20040923014710.97212.qmail@web14308.mail.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 23 Sep 2004 09:16:16 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Apache Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 08:16:22 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 22, 2004 at 06:47:09PM -0700, Stanley Wright wrote: > I'm having a problem setting up Apache. The httpd > daemon is up and running and I can access the > webserver via http://localhost. (I can see a test page > I created). That's good. How have you set up httpd.conf? Did you tell it to bind to any particular addresses, or did you just leave it to the default, which is to bind to all available interfaces? In httpd.conf, that's 'Listen' or 'BindAddress' directives. The default is effectively: BindAddress * which means 'bind to all ethernet interfaces'. Depending on how your DSL connection is set up (ie. if your external interface doesn't appear to the system much like an ethernet interface), you might need to add a specific directive telling apache to Listen on your external IP address. =20 > When I try to connect to the webserver via the IP > address of my DSL connection I get the error: >=20 > the connection was refused when attempting to > contactx.x.x.x Sounds as if apache isn't listening on that address. What do you get from running?: % netstat -f inet | grep http =20 > I called my ISP who informed me that they are not > blocking port 80 (just wanted to cover all angles) > also, Ive turned off the firewall with no success. Good move, but it would be unlikely for any firewall filtering applied by your ISP to prevent you from accessing an HTTP server on one of your local interfaces. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBUoZQiD657aJF7eIRAgkmAJ4h4cBoeOn96hkmZsQlmR6beaeuuQCeLcEN rsZuGeqqayCxJ6xMnCzK62c= =NywB -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe--