httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "Errors/CouldNotBindToAddress" by noodl
Date Tue, 17 Oct 2006 23:24:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by noodl:
http://wiki.apache.org/httpd/Errors/CouldNotBindToAddress

------------------------------------------------------------------------------
  == make_sock: could not bind to address 0.0.0.0:80 no listening sockets available ==
- If you see this error, it is quite likely that something else is already using the port
in question.
+ There are three common causes for this error message.
  
- If you get this error messages, you can determine what is using the port quite easily
+ === Address is already in use ===
  
+ Something else is already using the port in question.
+ 
+ Run one of the following commands to check if a running process is holding the port needed
by apache open.
  {{{
  On Linux/Unix run
- $>  netstat -a -v -e -p
+ $>  netstat -avep
  
  On Windows run
  $>  netstat -ano
  }}}
- Once you see these results, you can choose too kill the program in question, or change the
port that Apache uses.
+ Once you see these results, you can choose to kill the program in question, or change the
port that Apache uses.
  
  '''''Note for Windows users''', Skype is known to use port 80. Also, make sure Windows IIS
Web Server is not running.''
  
+ === Conflicting Listen directives ===
+ A configuration like this:
+ {{{
+ Listen *:80
+ Listen 1.2.3.4:80
+ }}}
+ will incur the same error message. This can be remedied by disambiguating the ip/port numbers.
+ 
+ === You're not root ===
+ Unix based systems disallow non-root users to bind processes to port numbers below 1024.
Get root!
+ 

Mime
View raw message