couchdb空本地网络

时间:2017-11-18 15:37:16

标签: couchdb

我已在本地服务器上设置CouchDB。它在本地服务器上运行良好。 我通过在local.ini中设置bind_address = 0.0.0.0来打开本地网络上的服务器。

当我从本地区域的远程计算机上进行数据库查询时,我得到一个带有0 doc的结果,而我在本地计算机上获得了几个文档。

$>> curl -X GET http://127.0.0.1:5984/dbnew

{"db_name":"dbnew","doc_count":125,"doc_del_count":0,"update_seq":125,"purge_seq":0,"compact_running":false,"disk_size":114799,"data_size":56634,"instance_start_time":"1511017391973208","disk_format_version":6,"committed_update_seq":125}

$>> curl -X GET http://192.168.0.8:5984/dbnew

{"db_name":"dbnew","doc_count":0,"doc_del_count":0,"update_seq":0,"purge_seq":0,"compact_running":false,"disk_size":114799,"data_size":0,"instance_start_time":"1511017142932001","disk_format_version":6,"committed_update_seq":0}

任何想法为什么CouchDB从远程机器返回空数据库?

0 个答案:

没有答案