CouchDB with SSL has 2 ports for general access: 5984, and 6984.

5984 is the insecure http version of the port. You can't turn it off
easily in CouchDB 2.3.1, but you can change what port it appears at. I
recommend firewalling access to this port immediately.

If you enable SSL, that'll be on port 6984 by default. You may have
changed it to port 7984. That's the one you want the world to see. It
shares the same address binding as the insecure 5984 port, so you must
bind both to 0.0.0.0 to see this externally.

Do *not* change the settings for the administrative port (5986). Leave
this bound only to 127.0.0.1.

Since you're having so much trouble, I'll write up the settings you
need. The following has:

* Standard (http) port bound to 0.0.0.0:1234 (*firewall this*!!)
* SSL (https) port bound to 0.0.0.0:5984 (this is the one you want)
* Administrative port bound only to 127.0.0.1:5986
* **BE SURE TO RESTORE THE ORIGINAL DEFAULT.INI FILE WE SHIP FIRST.**

After changing this file, kill all running CouchDB processes, then
restart CouchDB.

```
[chttpd]
port = 1234
bind_address = 0.0.0.0

[httpd]
port = 5986
bind_address = 127.0.0.1

[ssl]
port = 5984
key_file = YOUR PATH HERE
cert_file = YOUR CERT HERE
cacert_file = YOUR CACERT HERE
```



On 2019-08-12 8:18, Adam Kocoloski wrote:
> This means something else is already listening on one of the ports that 
> CouchDB is trying to use.
> 
> Adam
> 
>> On Aug 12, 2019, at 3:24 AM, Rene Veerman <seductivea...@gmail.com> wrote:
>>
>> eaddrinuse
> 

Reply via email to