Return-Path: X-Original-To: apmail-httpd-docs-archive@www.apache.org Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C11A76A5 for ; Wed, 9 Nov 2011 18:42:06 +0000 (UTC) Received: (qmail 99664 invoked by uid 500); 9 Nov 2011 18:42:05 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 99619 invoked by uid 500); 9 Nov 2011 18:42:05 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 99611 invoked by uid 99); 9 Nov 2011 18:42:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 18:42:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2011 18:42:04 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 858AE6ED; Wed, 9 Nov 2011 18:41:44 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 09 Nov 2011 18:41:44 -0000 Message-ID: <20111109184144.61302.88097@eos.apache.org> Subject: =?utf-8?q?=5BHttpd_Wiki=5D_Update_of_=22CouldNotBindToAddress=22_by_thumb?= =?utf-8?q?s?= Auto-Submitted: auto-generated Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for cha= nge notification. The "CouldNotBindToAddress" page has been changed by thumbs: http://wiki.apache.org/httpd/CouldNotBindToAddress?action=3Ddiff&rev1=3D12&= rev2=3D13 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 t= o also bind on 1.2.3.4:80, which fails because it is already bound by the f= irst line. If you're binding on *:PORT, you do not need to also bind on a s= pecific IP. = = + =3D=3D=3D Trying to listen an IP not bound to an active interface on the = server =3D=3D=3D + = + When trying to bind to an IP and port not present on the host system, apa= che 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 t= riggered. In the event that the IP will change on a regular basis, it is re= commended to use Listen PORT or Listen *:PORT instead. + = =3D=3D=3D You're not root =3D=3D=3D Unix based systems disallow non-root users to bind processes to port numb= ers below 1024. Get root! =20 --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org