Accessing CouchDB Futon on a remote server

后端 未结 1 1483
太阳男子
太阳男子 2020-12-25 15:43

I\'ve installed CouchDB on a remote server that I have access to through a terminal telnet/ssh client.

The server is running on CentOS6.

I really want to be

相关标签:
1条回答
  • 2020-12-25 16:03

    Just create ssh tunnel to your remote CouchDB instance:

    ssh -f -L localhost:15984:127.0.0.1:5984 user@remote_host -N
    

    And after that your remote CouchDB Futon that still serve on localhost address will be available for you by address: http://localhost:15984/_utils. Replace local port 15984 by your choice.

    P.S. There is also awesome guide from Linode wiki with example couchdb-tunnel script. Hope it helps.

    0 讨论(0)
提交回复
热议问题