CouchDB入门 [英] Getting Started with CouchDB
问题描述
我在Linux云服务器上安装了CouchDB,并且正在尝试访问 Futon欢迎屏幕。 O'Reilly的书说要转到 127.0.0.1:portnum,但是我不在本地主机上工作,它是我的远程服务器,因此我应该能够使用 xxx.xxx.xxx.x:portnum (我的远程地址)访问Futon对吗?这不起作用,我需要虚拟主机还是其他?谢谢。
I've got CouchDB installed on my linux cloud server and I'm trying to access the "Futon Welcome Screen". The O'Reilly book says to go to "127.0.0.1:portnum", but I'm not working on localhost, it is my remote server, so I should be able to use "xxx.xxx.xxx.x:portnum" (my remote address) to access Futon right? This is not working, do I need a virtual host or something? Thanks.
推荐答案
转到您的 local.ini
文件。 (可能在 / etc / couchdb
中)并将 bind_address
设置为 0.0.0.0
(即响应所有IP地址)或指定您正在LAN(专用)或Internet中使用的另一个IP地址。 (公开)
Go to your local.ini
file. (probably in /etc/couchdb
) and set bind_address
to either 0.0.0.0
(ie. respond to all IP addresses) or specify another IP address that you're either using in your LAN (private) or over the internet. (public)
这篇关于CouchDB入门的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!