From owner-freebsd-questions@FreeBSD.ORG Sun Apr 9 18:50:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 B556416A404 for ; Sun, 9 Apr 2006 18:50:38 +0000 (UTC) (envelope-from fbsd_user@a1poweruser.com) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C45443D45 for ; Sun, 9 Apr 2006 18:50:37 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060409185037.YGJV12719.mta11.adelphia.net@barbish>; Sun, 9 Apr 2006 14:50:37 -0400 From: "fbsd_user" To: "Adam McCarthy" , Date: Sun, 9 Apr 2006 14:50:32 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 In-Reply-To: <7b7f9d810604091129t2b39fec4xcfdd07e0db03b6d0@mail.gmail.com> Cc: Subject: RE: Apache refusing to listen 81 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Apr 2006 18:50:38 -0000 I don't know where you got Listen *:80 Listen *:81 from. My working system uses Listen 8080 just fine. In the FreeBSD port of apache the http.conf file has the Listen statement in a few different places. You want the one closes to the beginning of the file. On 4/9/06, Daniel A. wrote: > On 4/8/06, Adam McCarthy wrote: > > I am trying to tell Apache2 to listen on port 81 > > with > > Listen *:81 > > > > Even if I comment out Listen:80 it still listens on 80. > > > > After starting Apache, telnet 127.0.0.1 81 fails with Connection Refused. > > > > My listen is > > Listen *:80 > > Listen *:81 > > > > I have no firewall on the machine. No errors in httpd-error.log. > > > > Thanks in advanced for any inconvience. > > > > --