That's interesting...I didn't know about that since we were exploring iOS 
side first. And yes, it is a correct URL for iOS...

So can anyone connect to this port on Android if they know your IP ?? That 
creates a bit of a security issue if you ask me...


On Monday, December 15, 2014 11:20:59 PM UTC+1, Jens Alfke wrote:
>
>
> > On Dec 15, 2014, at 1:36 PM, Eno <[email protected] <javascript:>> 
> wrote: 
> > 
> > Couchbase Lite url = http://lite.couchbase./ 
> > 
> > which comes from CBLite.m and doesn't look like real URL we can connect 
> to via HTTP (on the Android side we can talk HTTP to http://localhost:5984 
> so the above URL is confusing). Any ideas on what we're doing wrong? Im not 
> an iOS developer so if Im misunderstanding how this is supposed to work can 
> someone explain? 
>
> That's the correct URL. CBL on iOS doesn't open a real TCP port, instead 
> it registers a handler that watches HTTP requests and intercepts ones to 
> that hostname. This is cheaper and safer than using TCP (but not an option 
> on Android, alas.) 
>
> —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/7a0fc0d0-7723-422a-803d-8300251455ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to