Can't bind to port 80
D. Taylor
dtaylor@www.dssolutions.com
Wed, 1 Mar 2000 22:44:48 -0700 (MST)
Um, just a total wild ass guess here, but I would
suspect that inetd.conf contains a line that instructs
it to bind to port 80.
Edit inetd.conf and look for a line that (probably)
begins with "www" or "http". Comment out that line.
D
On Wed, 1 Mar 2000, Patrick Rhodes wrote:
> Date: Wed, 01 Mar 2000 18:10:20 -0700
> From: Patrick Rhodes <Patrick.Rhodes@asu.edu>
> Reply-To: plug-discuss@lists.PLUG.phoenix.az.us
> To: "'plug-discuss@lists.PLUG.phoenix.az.us'"
<plug-discuss@lists.PLUG.phoenix.az.us>
> Subject: RE: Can't bind to port 80
>
> Well, we have found a solution - sort of.
>
> If you start the httpd FIRST, then start the INET daemon second, then it'll
> work correctly. Do it in reverse order, and you can't bind to port 80 with
> the httpd daemon. Any ideas why?
>
> and YES, we only have ONE "Port 80" directive. :-)
>
> Patrick
>
>
> -----Original Message-----
> From: D. Taylor [mailto:dtaylor@www.dssolutions.com]
> Sent: Wednesday, March 01, 2000 5:42 PM
> To: 'PLUG'
> Subject: Re: Can't bind to port 80
>
>
>
> netstat
> lsof
>
> Have you touched apache.conf? You do have just ONE "Port 80"
> and ONE "Listen 80" directive, right? Have you been playing
> with virtual hosts again?
>
>
> D
>
> On Wed, 1 Mar 2000, Patrick Rhodes wrote:
>
> > Date: Wed, 01 Mar 2000 16:34:16 -0700
> > From: Patrick Rhodes <Patrick.Rhodes@asu.edu>
> > Reply-To: plug-discuss@lists.PLUG.phoenix.az.us
> > To: 'PLUG' <plug-discuss@lists.PLUG.phoenix.az.us>
> > Subject: Can't bind to port 80
> >
> > Our Apache server has been running for months on a RedHat 6.0 Linux server
> > (on port 80). Today, it seemed to have crashed (still investigating why).
> > Now we can't get it to come back up on port 80, but it'll work just fine
> on
> > port 81. The logs say it can't bind to port 80.
> >
> > 2 things:
> > 1) Is there a way to see what ports are available and/or being used?
> >
> > 2) Any suggestions on how to fix this?
> >
> > Thanks for any and all help - we've been beating our brains trying to fix
> > it. We also tried upgrading to RedHat 6.1, so now we are on Apache 1.3.9,
> > but the same problem is there. We have rebuilt the binary a couple of
> > times, rebooted the server, stop and started various daemons countless
> times
> > to no avail.
> >
> > If you have apache set to port 80 in it's .conf file, when you execute
> httpd
> > it'll start and stop right away - that's when you look in the logs and see
> > that it has the binding problem.
> >
> > Patrick
> >
>
>
> _______________________________________________
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>