Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2003 17:26:05 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Mark <admin@asarian-host.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Apache/1.3.28 will not bind to other port
Message-ID:  <20030731162605.GG23108@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <200307311356.H6VDUKAR033209@asarian-host.net>
References:  <200307311356.H6VDUKAR033209@asarian-host.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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