From couchdb-user-return-318-apmail-incubator-couchdb-user-archive=incubator.apache.org@incubator.apache.org Mon Apr 28 19:04:45 2008 Return-Path: Delivered-To: apmail-incubator-couchdb-user-archive@locus.apache.org Received: (qmail 54332 invoked from network); 28 Apr 2008 19:04:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2008 19:04:45 -0000 Received: (qmail 92496 invoked by uid 500); 28 Apr 2008 19:04:46 -0000 Delivered-To: apmail-incubator-couchdb-user-archive@incubator.apache.org Received: (qmail 92477 invoked by uid 500); 28 Apr 2008 19:04:46 -0000 Mailing-List: contact couchdb-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: couchdb-user@incubator.apache.org Delivered-To: mailing list couchdb-user@incubator.apache.org Received: (qmail 92466 invoked by uid 99); 28 Apr 2008 19:04:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 12:04:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 74.125.46.152 as permitted sender) Received: from [74.125.46.152] (HELO yw-out-1718.google.com) (74.125.46.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2008 19:04:00 +0000 Received: by yw-out-1718.google.com with SMTP id 5so414301ywm.0 for ; Mon, 28 Apr 2008 12:04:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/DTxEQLYEara4LstKsf3tjcqc3tI/VBJCLC24yB/BhM=; b=WbNNKFju4Xx95IMp7zx7Aw2ap3CRwZyG1Hd/Sq0MpI/bZnycRmh49iIjT12MhKthXtGGLSpPbnqMq4ltUi6Gkru+VayUTFL4dRVw1KZ2OiW+GIRkHRL6+cunN1sryIVLg6kS6NOeTdsT3xxnUeCfHqAEdiD/UtvZlUR/gLscadU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TAyDfZoSk92M9jswWK49ZFmnkjE9VwpODv6SHGJRF3CiOdG2VfS4Z8u+3hrSXsXVADjGY1zCMVUTyVvLjxWHk9kFdzPrsJuZbcVnBQ49bcGbnh379Wx39WB3zeVb6AEUMq0Qb1oGBYRpoLwStmnkBMmiG60hJeEPZ/HR84J+Nu4= Received: by 10.150.12.3 with SMTP id 3mr4140465ybl.13.1209409449706; Mon, 28 Apr 2008 12:04:09 -0700 (PDT) Received: by 10.150.147.9 with HTTP; Mon, 28 Apr 2008 12:04:09 -0700 (PDT) Message-ID: Date: Mon, 28 Apr 2008 15:04:09 -0400 From: "Paul Davis" To: couchdb-user@incubator.apache.org Subject: Re: firewall In-Reply-To: <3C127D68-D5DA-4D43-914E-23D25F735449@uci.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5FB9C551-BBB5-4AD8-8BAE-528E28FC1C25@uci.edu> <3C127D68-D5DA-4D43-914E-23D25F735449@uci.edu> X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Apr 28, 2008 at 2:57 PM, Tommy Chheng wrote: > ok, I added the Port to the couch.ini and changed my couch_http.conf to > match Still no luck: > my couch_http.conf file > http://pastie.caboo.se/188195 > > I'm running nginx and mongrel for rails on this server.. I doubt these can > be an issue since they aren't touching 5984 at all and no firewall is on... > > > > > > On Apr 28, 2008, at 11:38 AM, Paul Davis wrote: > > > > On Mon, Apr 28, 2008 at 2:30 PM, Tommy Chheng wrote: > > > > > I added BindAddress so my couch.ini file looks like: > > > http://pastie.caboo.se/188174 > > > > > > Still same problem. > > > > > > > > > > > > On Apr 28, 2008, at 11:22 AM, Paul Davis wrote: > > > > > > > > > > > > > On Mon, Apr 28, 2008 at 2:19 PM, Tommy Chheng wrote: > > > > > > > > > > > > > Ok, so i just turned off the firewall temporary > > > > > > > > > > /sbin/iptables -L > > > > > Chain INPUT (policy ACCEPT) > > > > > target prot opt source destination > > > > > > > > > > Chain FORWARD (policy ACCEPT) > > > > > > > > > > target prot opt source destination > > > > > > > > > > Chain OUTPUT (policy ACCEPT) > > > > > > > > > > target prot opt source destination > > > > > > > > > > Chain RH-Firewall-1-INPUT (0 references) > > > > > > > > > > target prot opt source destination > > > > > > > > > > Still no response from outside. It's only working via > localhost:5984. > > > > > > > > > > Any ideas how to debug this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Apr 28, 2008, at 11:12 AM, Paul Davis wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /sbin/iptables -A OUTPUT -p tcp -m tcp --dport 5984 -j ACCEPT > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Ohhhh. Heh. > > > > > > > > /usr/local/etc/couchdb/couch.ini > > > > > > > > Change "BindAddresss=127.0.0.1" to "BindAddress=0.0.0.0" > > > > > > > > Or your local static ip to only listen on that IP. > > > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > > > > I don't see a port specified. I'd assume that's specified in > > /usr/local/etc/couchdb/couch_httpd.conf. You might check if you have a > > conflicting BindAddress in there as well. > > > > For reference, my couch.ini looks like this: > > http://pastie.caboo.se/188178 > > > > > > The other servers are reachable from an external host, right? Try commenting out the HttpConf. I've never used that and don't have much of an idea on what the side effects might be. Could it be that having the BindAddress and Port specified multiple times is causing issues? Paul