Hi Jems! Thanks for your response! On Tuesday, December 23, 2014 4:56:19 AM UTC+5:30, Jens Alfke wrote: > > > On Dec 22, 2014, at 1:21 PM, Ami Kapadia <[email protected] <javascript:>> > wrote: > > And when I try to config db, I am getting this error : > "CORS request rejected: ... : ...@localhost:5984/db_name" > > > Sorry, our main PhoneGap guy is out sick and not answering emails. > > I'm not an expert, but I'm pretty certain that 5984 is the wrong port. > I am getting this port for Android and it was working fine in my previous app. But then I have changed my CBLite config file and now it's having bug. So, I am sure that this is not an issue of port number.
> Generally CBL on Android will bind to an OS-selected (i.e. random) port > number. Are you sure you're using the API URL you got from the > cblite.getURL() callback? > Yes, I am using that. I debugged app and CBL is initialised on "localhost:5984/" port only. > > (5984 is the port CouchDB uses, so you might have some hard-coded CouchDB > URL references in your code.) > > —Jens > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3e144a9e-cb76-470d-bdd2-3db7af91ec84%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
