I've installed CouchDB on my vagrant 0.9.0
box that is running CentOS 6.2
.
In Vagrantfile I've added config.vm.forward_port 5984, 5985
.
After reloading vagrant i attempt to curl the address: curl -v localhost:5985
with poor 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 get the feeling that port forwarding isn't working properly - at first I thought it might have something to do with iptables
so I disabled that but, alas, results did not improve.
Been beating my head against this for days now. Would greatly appreciate some assistance.