couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: Serving Simple HTML page to Public IP from CouchDB
Date Wed, 20 Mar 2013 00:09:07 GMT
On Tue, Mar 19, 2013 at 5:01 PM, Miles Fidelman
<mfidelman@meetinghouse.net> wrote:
> I assume that CouchDB is doing NAME-based virtual hosting, which means it's

> [vhosts]
> 184.75.155.16:5984 = /test/_design/test/_rewrite
>
That could work if couchdb would be able to listen on multiple
interfaces. If it's your main IP then make sure to start couchdb on
0.0.0.0 and access to the couchdb API using localhost. If not you
won't be able anymore to use it. You can also use an alias to your
main interface and bind it to an IP.

- benoit

Mime
View raw message