views:

37

answers:

1

Hi there,

I have VM (Ubuntu 10.04, Apache, CouchDB 1.0, ...) with public ip address.

  • Is it possible to access CouchDB (mainly Futon) from public ip address (i.e. 187.323.132.232:5984), not from http://localhost:5984?
  • Or on my local machine, set up an ssh tunnel?
A: 

Hi.

  • Yes, go to the Futon Configuration and set bind_address in the http section to 0.0.0.0
  • Alternatively, you can use SSH also. The basic idea is to forward from your local machine to the remote CouchDB:

    ssh -L 5984:localhost:5984 remoteuser@remotemachine
    

    Now you can access Futon via http://localhost:5984/ from the local machine.

Good luck!

jhs