debian 安装 couchdb 然后访问/_utils/index.html页面报错
~/src/LeanClub/databases$ sudo -i -u couchdb couchdb Apache CouchDB is running as process 10837, time to relax. 显示已经运行
netstat -tnal也可以看到 tcp 0 0 127.0.0.1:5984 0.0.0.0:* LISTEN 端口5984已经监听
但是用浏览器打开 http://10.0.0.49:5984/_utils/index.html 显示 无法显示此网页
ERR_CONNECTION_REFUSED
,请问如何解决
我是参照这里安装的 http://docs.couchdb.org/en/1.6.1/install/unix.html#first-run
明显是监听在 127.0.0.1 的
远程主机,无法从127.0.0.1访问 Foreign Address 0.0.0.0:* 应该可以从任意地址访问阿
修改 /etc/couchdb/default.ini ;bind_address = 127.0.0.1 bind_address = 0.0.0.0
改配置之后重新打开,然后netstat试试
OK 可以访问了