couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahendra Kariya <>
Subject using jquery.couch.js
Date Thu, 03 Jun 2010 08:06:22 GMT

I created a javascript, to access CouchDB. It is as follows:

           var dbname = "mahendradb";

                error:function(status,id,reason) { alert(status+" reason:
                success:function(resp) { alert (resp); }

This script is running on port 80. CouchDB is on port 5984.  So, obviously I
will get an error. The error is as follows.

Error: uncaught exception: Invalid JSON: <!DOCTYPE HTML PUBLIC "-//IETF//DTD
HTML 2.0//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /mahendradb/.</p>
<address>Apache/2.2.14 (Ubuntu) Server at localhost Port 80</address>

How can I access CouchDB from port 80?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message