From owner-freebsd-questions Fri Nov 15 22:10: 4 2002 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 F1F9937B401 for ; Fri, 15 Nov 2002 22:10:01 -0800 (PST) Received: from ncsmtp02.ogw.rr.com (ncsmtp02.ogw.rr.com [24.93.67.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C93B43E88 for ; Fri, 15 Nov 2002 22:10:01 -0800 (PST) (envelope-from freebsd@nc.rr.com) Received: from mail6.nc.rr.com (fe6 [24.93.67.53]) by ncsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id gAG69jup007607; Sat, 16 Nov 2002 01:09:45 -0500 (EST) Received: from 192.168.1.100 ([24.74.149.15]) by mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Sat, 16 Nov 2002 01:10:07 -0500 Date: Sat, 16 Nov 2002 01:09:53 -0500 From: Neill Robins X-Mailer: The Bat! (v1.61) UNREG / CD5BF9353B3B7091 Reply-To: Neill Robins X-Priority: 3 (Normal) Message-ID: <188140056530.20021116010953@nc.rr.com> To: "Totally Jayyness" Cc: questions@freebsd.org Subject: Re: Can't seem to assign a different port for http (apache) In-Reply-To: <001301c28d2e$aa152640$0300a8c0@jay> References: <001301c28d2e$aa152640$0300a8c0@jay> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Saturday, November 16, 2002, 12:11:47 AM, you wrote: TJ> I was able to change my static IP (thanks for the help in TJ> tracking down rc.conf) TJ> Now that my FreeBSD 4.4-Stable server is at home an on my internal TJ> network, it is back up and running... somewhat. TJ> On my internal network, if I open my browser and go to 192.168.0.10, TJ> it pulls up my web page just fine. But if I go into httpd.conf and TJ> try to change the port that httpd normally listens on, I am having TJ> no luck. I have tried these things. TJ> I tried adding the line TJ> Listen 14 TJ> then I stopped and restarted httpd but when I try to now go to TJ> 192.168.0.10:14, no TJ> joy. So I tried TJ> Listen 1124 TJ> Thinking that maybe since I was running httpd as user 'nobody' TJ> that the port # was to low. Again, trying to get to TJ> 192.168.0.10:1124 gives me page can not be displayed. So I TJ> delete out the 'Listen' line and decide to change the default port. TJ> So I run down through httpd.conf until I find where it sets the port TJ> to 80 and change it to 14. Stop and restart httpd. No luck. TJ> Thinking it might be that 'nobody' user giving me trouble, I change TJ> the port to 1124, stop and restart it... still, going to TJ> 192.168.0.10:1124 doesn't bring up the page. TJ> You guys have any ideas? Hmmm, try going a little further down the httpd.conf file and look for the 'Port' setting. Something like: # # Port: The port to which the standalone server listens. For # ports < 1023, you will need httpd to be run as root initially. # Port 80 Good luck, Neill Robins freebsd@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message