I would like to update the bind address of my CouchDB v3.1.0 instance (note: installed on Windows 10).
I would like to do so without using the Web UI (Fauxton).
Here is what I am doing:
- Opening
C:\CouchDB\etc\local.iniin a text editor - Within the
[chhtpd]section, I am settingbind_address = 0.0.0.0- Based on this answer
[chttpd]
;port = 5984
bind_address = 0.0.0.0
; Options for the MochiWeb HTTP server.
;server_options = [{backlog, 128}, {acceptor_pool_size, 16}]
; For more socket options, consult Erlang's module 'inet' man page.
;socket_options = [{sndbuf, 262144}, {nodelay, true}]
- Saving the changes
- Restarting the
Apache CouchDBservice viaservices.msc- Per this answer
- I find the change of
bind_addresshasn't taken effect
It seems the [chttpd] section of C:\CouchDB\etc\local.d\10-admins.ini is overriding my value.
[chttpd]
bind_address = 127.0.0.1
port = 5984
What am I doing wrong? Do I need to change the bind_address in the 10-admins.ini file?