httpd-docs 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 "CouldNotBindToAddress" by thumbs
Date Wed, 09 Nov 2011 18:41:44 GMT
Dear Wiki user,

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

The "CouldNotBindToAddress" page has been changed by thumbs:
http://wiki.apache.org/httpd/CouldNotBindToAddress?action=diff&rev1=12&rev2=13

Comment:
Added a section for attempting to bind to an IP not present on the host

  }}}
  will incur the same error message. Apache binds to *:80, and then tries to also bind on
1.2.3.4:80, which fails because it is already bound by the first line. If you're binding on
*:PORT, you do not need to also bind on a specific IP. 
  
+ === Trying to listen an IP not bound to an active interface on the server ===
+ 
+ When trying to bind to an IP and port not present on the host system, apache httpd will
fail to start. For example, if the network interface has the IP 1.1.1.1 assigned, and Listen
2.2.2.2:PORT is used, this error will be triggered. In the event that the IP will change on
a regular basis, it is recommended to use Listen PORT or Listen *:PORT instead.
+ 
  === You're not root ===
  Unix based systems disallow non-root users to bind processes to port numbers below 1024.
Get root!
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message