I installed CouchDB in my vagrant 0.9.0 , which runs CentOS 6.2 .
In Vagrantfile I added config.vm.forward_port 5984, 5985 .
After rebooting the firewall, I try to twist the address: curl -v localhost:5985 with bad results.
* About to connect() to localhost port 5985 (#0) * Trying 127.0.0.1... connected * Connected to localhost (127.0.0.1) port 5985 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8r zlib/1.2.3 > Host: localhost:5985 > Accept: */* > * Empty reply from server * Connection #0 to host localhost left intact curl: (52) Empty reply from server * Closing connection #0
I have a feeling that port forwarding does not work properly - at first I thought it might have something to do with iptables , so I turned it off, but, alas, the results did not improve.
I hit my head about this for several days. I would really appreciate your help.
source share