Problems with PouchDb in ionic2


#1

Can anyone give me a light on the use of PouchDB with a REST API to make a replicate.to?
It is the following, follow the simple PouchDB example:
localbank = new PouchDB (‘http://192.168.2.104:5984/outbank’);
The problem is when the squeegee application, realized by crhome inspect it returns a URL like “http://192.168.2.104:5984/bancoexterno/” by adding a “/” at the end of the address, pointing to a directory not for a RESP service, and thus not finding the DB and made an ERR_CONNECTION_REFUSED.
ionic version 2.0.0-beta.31
Obs .: The Resp is perfect, the browser responds correctly to the database as well as in crhome Advanced REST client.