Noel, that seemed to do the trick for me. For the community maybe this
should be clarified because the docs are contradictory as far as I can tell.
As far as I can see there is absolutely no documentation for chttpd.
There's a section called: CouchDB HTTP Server
ere's a  at http://docs.couchdb.org/en/2.0.0/config/http.html
and it explicity says that [httpd] should be configured for exactly what I
was trying to do:
bind_address
<http://docs.couchdb.org/en/2.0.0/config/http.html#httpd/bind_address>

Defines the IP address by which CouchDB will be accessible:

[httpd]bind_address = 127.0.0.1

To let CouchDB listen any available IP address, just set up 0.0.0.0 value:

[httpd]bind_address = 0.0.0.0

But,is an seemingly ominous contradiction, the comments in the .ini file
comments:
; NOTE that this only configures the "backend" node-local port, not the
; "frontend" clustered port. You probably don't want to change anything in
; this section.

I don't understand the reference to the "frontend" clustered port because I
just came from CouchDB 1.6.1 and don't understand and am not using
clustering yet.
But the docs seem to say that [httpd] bind_address SHOULD be configured for
a simple unclustered server or maybe a clustered one too.
The local.ini comments for [chttpd] mention the Mochiweb HTTP server and I
don't know what that is or if I'm using it and I can't tell if that
reference only describes on of the lines called server_options
Again nothing about chttpd is explained in the docs.


On Thu, Jun 22, 2017 at 8:16 PM, Doug Snyder <[email protected]> wrote:

> Its on a production server. I'm getting logs of people from China and
> Russia trying to hack into my ssh. Is that a good idea to do even for a
> minute?
>
> On Thu, Jun 22, 2017 at 3:11 AM, Joan Touzet <[email protected]> wrote:
>
>> Hi Doug, have you tried completely disabling firewalld and seeing if it
>> works?
>>
>> -Joan
>>
>> ----- Original Message -----
>> From: "Doug Snyder" <[email protected]>
>> To: [email protected]
>> Sent: Wednesday, 21 June, 2017 10:50:09 PM
>> Subject: Re: Connection Refused Errors connecting to CouchDB 2.0
>>
>> I've been waiting over a week to get any reply, with no success. I'm
>> trying
>> to get a basic server up. Can anybody help me with what should be a pretty
>> simple problem?
>>
>
>

Reply via email to