Reputation: 1175
I'm Unable to access CouchDB remotely. I'm using a Windows 2008 virtual machine in Azure.
I did the following,
1) Installed IIS on windows server 2008.
2) Created an endpoint for port 5984
3) Installed CouchDB & verified the same by using futon
http://127.0.0.1:5984/_utils
4) Created a subdomain ( db.mydomainxyz.com ) with my domain registrar & verified. If I type http://db.mydomainxyz.com/ in browser - IIS7 default page gets displayed.
5) Made couchdb to listen on all network adapters by setting => bind_address = 0.0.0.0
6) Created vhosts to point to my domain = > db.mydomainxyz.com:5984 = /db/_rewrite/
After doing all these things I'm still unable to access CouchDB remotely http://db.mydomainxyz.com:5984/
Is there anything I'm missing ?
Upvotes: 0
Views: 2270
Reputation: 61
This command solves the issue:
netsh advfirewall firewall add rule name="Apache CouchDB" dir=in action=allow service=any enable=yes profile=any localport=5984 protocol=tcp
Upvotes: 0
Reputation: 3852
After changing the bind_address
, CouchDB must be restarted. The problem is that its daemon is very resilient. So even if you tried to restart it, it probably never stopped. Restart your virtual machine instead.
See the similar discussion on ServerFault for more information.
Upvotes: 0