Date: Sat, 16 Nov 2002 01:09:53 -0500 From: Neill Robins <freebsd@nc.rr.com> To: "Totally Jayyness" <Jayyness@mindspring.com> Cc: questions@freebsd.org Subject: Re: Can't seem to assign a different port for http (apache) Message-ID: <188140056530.20021116010953@nc.rr.com> In-Reply-To: <001301c28d2e$aa152640$0300a8c0@jay> References: <001301c28d2e$aa152640$0300a8c0@jay>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?188140056530.20021116010953>