Unable to connect server from Travel exmaple

I downloaded code from Sample codes TravelSample iOS mobile application.
I installed Sync Gateway and couchbase server.

I am getting issue while run the application unable to connect server.

Error Domain=NSURLErrorDomain Code=-1004 “Could not connect to the server.”

How can we set up ws(Web socket url) from couchbase server url

Thank you in advance.

What is the exact URL configured in the mobile application?
What is the hostname or IP address of the machine Sync Gateway is running on, and what port is it listening on?
(CBL connects to Sync Gateway, not directly to Couchbase Server.)