Skip to content
This repository was archived by the owner on Nov 5, 2018. It is now read-only.

Doubt on db access of live app #353

Closed
rmshkmr opened this issue Jun 30, 2017 · 2 comments
Closed

Doubt on db access of live app #353

rmshkmr opened this issue Jun 30, 2017 · 2 comments

Comments

@rmshkmr
Copy link

rmshkmr commented Jun 30, 2017

Using var nano = require('nano')('http://localhost:5984'); is fine. But for live application what to write instead of http://localhost:5984.

I hosted my node.js application in Amazon AWS using
CouchDB - JSON based Web database powered by TurnKey GNU/Linux for database.

My ipv4 public IP http://54.xxx.22.xxx/_utils shows my Database. confused what to write instead of http://localhost:5984 in code.

@jo
Copy link
Contributor

jo commented Jun 30, 2017

Hi @rmshkmr /_utils is the Fauxton admin interface. Just write http://54.xxx.22.xxx.

@jo jo closed this as completed Jun 30, 2017
@rmshkmr
Copy link
Author

rmshkmr commented Jun 30, 2017

Thanks. It Worked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants