Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Sep 1997 10:31:07 +0200 (MET DST)
From:      Marco Molteni <molter@logic.it>
To:        Keith Spencer <bsd@smmc.qld.edu.au>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Port 80 being used?How can I tell
Message-ID:  <Pine.BSF.3.96.970926102128.920B-100000@dumbwinter.ecomotor.it>
In-Reply-To: <199709252104.HAA27269@smmcroute.smmc.qld.edu.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Sep 1997, Keith Spencer wrote:

> Hi ,
> Is there a way I can find out what ports are being used?
> Apache reports at boot that it can't bind to port 80.
> Apache docs say maybe it is being used   or  maybe the user is set 
> wrong or something...

quick way:

  $ telnet localhost 80

or get a port scanner like strobe from ports/security.  Anyway,
the apache docs are right: or the port is already used by an http
daemon, or, since ports 1-1023 are reserved, the user trying to start
httpd is not root.  Please note that having httpd running as root is
VERY DANGEROUS. See the apache docs on how to change the user after
the daemon has started.

Marco Molteni
Computer Science student at the Universita' degli studi di Milano, Italy.
UNIX _is_ user friendly.  It's just selective about who its friends are.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970926102128.920B-100000>