From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 09:26:19 2003 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 1E54137B401 for ; Thu, 31 Jul 2003 09:26:19 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD03643F75 for ; Thu, 31 Jul 2003 09:26:17 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h6VGQ5cU027212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 Jul 2003 17:26:12 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h6VGQ5SK027211; Thu, 31 Jul 2003 17:26:05 +0100 (BST) (envelope-from matthew) Date: Thu, 31 Jul 2003 17:26:05 +0100 From: Matthew Seaman To: Mark Message-ID: <20030731162605.GG23108@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Mark , freebsd-questions@freebsd.org References: <200307311356.H6VDUKAR033209@asarian-host.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="w2JjAQZceEVGylhD" Content-Disposition: inline In-Reply-To: <200307311356.H6VDUKAR033209@asarian-host.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-8.7 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org Subject: Re: Apache/1.3.28 will not bind to other port 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, 31 Jul 2003 16:26:19 -0000 --w2JjAQZceEVGylhD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 31, 2003 at 01:56:21PM +0000, Mark wrote: > This is odd. Just compiled and installed Apache/1.3.28. So, I figure I pl= ay > around with it a bit, untill I am sure I get it working properly. So, I > added this to httpd.conf: >=20 > # > # Port: The port to which the standalone server listens. For > # ports < 1023, you will need httpd to be run as root initially. > # >=20 > Port 90 >=20 > But it would not start, and the error log says: >=20 > [Thu Jul 31 15:36:26 2003] [crit] (48)Address already in use: make_sock: > could not bind to port 80 >=20 > Yes, I know this. :) That is why I set it to port 90 for the moment. Any = one > seeing something I dreadfully missed? I compiled, install and ran > Apache/1.3.28 on the Vmware box first, where it works great. But on the r= eal > server, I want to test out a few things further first; hence, port 90. The default httpd.conf contains a: Listen 80 directive, which will cause apache to bind to all available interfaces and listen on port 80. You probably need to change that. In fact, I believe that 'Listen' is nowadays preferred to the 'BindAddress' and 'Port' combo and that 'BindAddress' and 'Port' have been phased out in apache 2.x 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 --w2JjAQZceEVGylhD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/KUMddtESqEQa7a0RAjmHAJ4gSWBhpWH6gORpLGd+jkbAaGE5NQCfbFlg FwPk8curGF+RsW4TNeDzd6Q= =3UdX -----END PGP SIGNATURE----- --w2JjAQZceEVGylhD--