I ran into a similar problem by installing riak 1.4.2 on a virtual machine, and then try to access the API from the host machine through port forwarding.
The solution was to edit the riak app.config file and change the http parameter. Default / initial setting:
{http, [ {"127.0.0.1", 8098} ]}
... which only binds to the loopback interface. If you want riak to respond on other interfaces, you must add them to the setting, for example:
{http, [ {"XXXX", 8098}, {"127.0.0.1", 8098} ]}
where XXXX is the address bound to another interface that you would like to use. In the case of my virtual machine, it was a 10.0.XX address.
There is also a similarly formatted pb parameter for the protocol buffer API, which may also need to be updated if you want to access the server using the protocol buffer API from the client machine.
Netic source share