Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 6587 invoked from network); 15 Mar 2010 09:30:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Mar 2010 09:30:37 -0000 Received: (qmail 16572 invoked by uid 500); 15 Mar 2010 09:29:50 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 16351 invoked by uid 500); 15 Mar 2010 09:29:50 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 16316 invoked by uid 99); 15 Mar 2010 09:29:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 09:29:49 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tvpavan@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-ww0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Mar 2010 09:29:43 +0000 Received: by wwb29 with SMTP id 29so509144wwb.11 for ; Mon, 15 Mar 2010 02:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=v5qK/FmLIhl5rc+IQO56z69fqu07cwSYM9SV/H/gJMk=; b=dzXgvBq0Zjk5YwHAMlXgolPPY8v5UiLG5k7C3XEwFbRBz0dB9Jku7irxJHocZbYvnU 0Q1aWJL+hzCZqibWTryaO06T0DaVSxMUlra1ys78JamDQI4bWJoOJo5NIMk+nZVh41u4 05m15tx3Lv0pSGGxgQAMF6o5ilScqEEtgZr6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oHE19Y+N9ihSCl2nvb1gWyLgxw8PlLJnI2IDOnjPNhsne6ozmx5gV/93jfEE3pey6h mdknb4q8A9OeU8BSztd8LL1hosXkubKSYw3Jgb01+0T/j49Blo9qgECkmmob2sD2FbWf Z+16j3nD7t+fQKAD3NkBp5eCzPJEgJkCgOhE4= MIME-Version: 1.0 Received: by 10.216.172.70 with SMTP id s48mr1029493wel.114.1268645362682; Mon, 15 Mar 2010 02:29:22 -0700 (PDT) In-Reply-To: <20100315092225.GA5389@uk.tiscali.com> References: <3e5ed32f1003142306r513cfe92o47541177d0de7416@mail.gmail.com> <20100315092225.GA5389@uk.tiscali.com> Date: Mon, 15 Mar 2010 14:59:22 +0530 Message-ID: Subject: Re: Having trouble accessing couchdb via curl From: Pavan Kumar To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=0016e6498360304c070481d384ba X-Virus-Checked: Checked by ClamAV on apache.org --0016e6498360304c070481d384ba Content-Type: text/plain; charset=ISO-8859-1 I head couchdb runs on different port for each user in Ubuntu because of ubuntuOne Run "netstat -tanup" to check where couch is listening to. On Mon, Mar 15, 2010 at 2:52 PM, Brian Candler wrote: > On Sun, Mar 14, 2010 at 11:06:02PM -0700, Bernardo Elayda wrote: > > I'm using couchdb v 0.10 on Ubuntu 9.10. > > > > Access to couchdb via a browser or driver(couchdbkit) is fine. But, I > > want to be able to access it via curl. Everytime I try to do this via > > an url which works in my browser, I > > alwasy get 'connection refused'. > > I assume you're talking about the curl command-line tool, and not curl > linked as a library into some other app or language. > > Tell us: > (1) the exact URL you put into your browser > (2) your exact curl command line and the response that comes back - using > copy-paste. > (3) try it again, adding '-v' to the curl command line. > > If the curl line is something like > curl http://127.0.0.1:5984/ > then try 'tcpdump -i lo -n -s0 tcp port 5984' in another window (as root) > --0016e6498360304c070481d384ba--