Can't bind to port 80

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: D. Taylor
Date:  
Subject: 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 <>
> Reply-To:
> To: 'PLUG' <>
> 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
>