Having sync gateway listening on another port ?

25 views
Skip to first unread message

thomas....@teckeezy.com

unread,
Feb 13, 2015, 10:25:07 AM2/13/15
to mobile-c...@googlegroups.com
Hello,

It seems that we have some users (schools and libraries) trying to use our (iOS) app on a network where firewall won't let request to be done on port 4984.

I was wondering if it was possible to have sync gateway listening on any port ?

Thanks for your answer.

Best regards,

Thomas Salomon

Jeremy Kelley

unread,
Feb 13, 2015, 10:57:03 AM2/13/15
to mobile-c...@googlegroups.com
I reverse proxy through nginx on port 443 (ssl) to the syncgw.

Here's some nginx config stanzas that may help get you started.

https://gist.github.com/nod/0e12567203e94e3646c1

-j
> --
> 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 mobile-couchba...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/25aad803-4c74-4ed5-97c2-d478dff394d0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
The Christian ideal has not been tried and found wanting;
it has been found difficult and left untried – G. K. Chesterton

Jens Alfke

unread,
Feb 13, 2015, 11:37:27 AM2/13/15
to mobile-c...@googlegroups.com

On Feb 13, 2015, at 7:25 AM, thomas....@teckeezy.com wrote:

I was wondering if it was possible to have sync gateway listening on any port ?

Of course. Just specify a different public and admin port number in the config file.

—Jens
Reply all
Reply to author
Forward
0 new messages