尝试验证我的CouchDB安装时,出现错误“错误:无法解析http:// any:5984 / verifytestdb /”。 [英] When attempting to Verify my CouchDB installation I get the error "Error: could not resolve http://any:5984/verifytestdb/"
问题描述
当我安装CouchDB并使用GUI并运行验证时。
When I install CouchDB and use the GUI and run verify.
我收到错误消息
Error: could not resolve http://any:5984/verifytestdb/
复制状态为X,表示我无法复制。关于如何解决此问题的任何建议。
And Replication status get's an X saying I can't replicate. Any suggestion on how to fix this problem.
它运行在Docker容器中,端口显示
It's running in a Docker Container and the Ports says
4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp
GUI应该与它的工作原理相同,不会显示错误。
The GUI should same it works an not show an Error.
感觉在5986中复制所需的端口可能被阻塞了。
Feel like a port might be blocked in 5986 required for replication.
推荐答案
使用CouchDB GUI上的Config设置
Use the Config setting on on the CouchDB GUI
转到 httpd
然后选择 bind_address
然后更改值从任何到绑定地址
And and change the value from "Any" to "bind_address"
再次运行测试,它应该可以工作。
Run the test again and it should work.
这篇关于尝试验证我的CouchDB安装时,出现错误“错误:无法解析http:// any:5984 / verifytestdb /”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!