HOST_ADDRESS

124 views
Skip to first unread message

Mael Elvis FOSSO N.

unread,
Sep 7, 2016, 11:17:56 PM9/7/16
to Kobo Users
Hi,

How should I configure the HOST_ADDRESS so that I could access to Kobo from an another computer in the local network  ?
For example by putting 192.168.2.131

Best Regards,
Mael

Donald Lobo

unread,
Sep 14, 2016, 11:41:22 PM9/14/16
to Kobo Users

1. are you using the kobo docker install?

2. are you using the local server setup (In which case i'm not sure you can allow another machine to access the instance) or the server setup

lobo

Mael Elvis FOSSO N.

unread,
Sep 15, 2016, 8:37:51 AM9/15/16
to kobo-...@googlegroups.com
Hi,

Thank you very much for your reply.

  1. Yes I'm using Kobo Docker Install
  2. I'm using the local server setup. I don't know how to use the server setup because I don't have public ip address, the only thing I have It's a range of private address from 192.168.2.131 to 192.168.2.157
Please, using the server setup, I could configure to allow another local machine to access the instance ?


--
You received this message because you are subscribed to a topic in the Google Groups "Kobo Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/a02cup4WiGQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kobo-users+unsubscribe@googlegroups.com.
To post to this group, send email to kobo-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kobo-users.
For more options, visit https://groups.google.com/d/optout.

Donald Lobo

unread,
Sep 15, 2016, 3:26:42 PM9/15/16
to Kobo Users

1. pretty sure you need to use the server setup

2. from basic networking, i dont think you need a public IP address. For your internal network, the addresses: 192.168.2.131 to 192.168.2.157 are public

so i would give that a try

lobo


On Thursday, September 15, 2016 at 5:37:51 AM UTC-7, Mael Elvis FOSSO N. wrote:
Hi,

Thank you very much for your reply.

  1. Yes I'm using Kobo Docker Install
  2. I'm using the local server setup. I don't know how to use the server setup because I don't have public ip address, the only thing I have It's a range of private address from 192.168.2.131 to 192.168.2.157
Please, using the server setup, I could configure to allow another local machine to access the instance ?

2016-09-15 4:41 GMT+01:00 Donald Lobo <donal...@gmail.com>:

1. are you using the kobo docker install?

2. are you using the local server setup (In which case i'm not sure you can allow another machine to access the instance) or the server setup

lobo


On Wednesday, September 7, 2016 at 8:17:56 PM UTC-7, Mael Elvis FOSSO N. wrote:
Hi,

How should I configure the HOST_ADDRESS so that I could access to Kobo from an another computer in the local network  ?
For example by putting 192.168.2.131

Best Regards,
Mael

--
You received this message because you are subscribed to a topic in the Google Groups "Kobo Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kobo-users/a02cup4WiGQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kobo-users+...@googlegroups.com.

Amar Kamthe

unread,
Sep 17, 2016, 7:26:42 AM9/17/16
to Kobo Users
You should be able to access your application within the network by setting the HOST_ADDRESS as a IP address of your machine.
We have done this where we required kobo-collect android app to communicate with the local machine kobotoolbox setup. And we were able to access forms in the android application by giving the IP address on which the kobotoolbox is running.

Regards,
Amar

Mael Elvis FOSSO N.

unread,
Sep 20, 2016, 12:38:53 AM9/20/16
to kobo-...@googlegroups.com
I'm trying to use the server setup but there are something I don't understand and how to deal with that. Please some explanations will make happy.
  • At step 7 which it's only for Server-specific, I should copy the SSL certificate and key files to secrets/ssl.crt and secrets/ssl.key respectively. What does it means please ? Where should I find those files that I have to copy ?
  • In the envfile.server.txt what do those variables mean and what am I suppose to put there ?
    • PUBLIC_DOMAIN_NAME
    • KOBOFORM_PUBLIC_SUBDOMAIN
    • KOBOCAT_PUBLIC_SUBDOMAIN
    • ENKETO_EXPRESS_PUBLIC_SUBDOMAIN
Thanks for your help.

Mael FOSSO

To unsubscribe from this group and all its topics, send an email to kobo-users+unsubscribe@googlegroups.com.

Amar Kamthe

unread,
Sep 20, 2016, 2:33:05 AM9/20/16
to Kobo Users
Hi,

Server setup uses the https protocol. As you know https requires the ssl certificates(Refer for more information - https://www.globalsign.com/en/ssl-information-center/what-is-an-ssl-certificate/) - ssl.crt and ssl.key files to be added to secrets folder. You can self sign the certificate or there are sites that give you a free SSL certificate signed say - letsencrypt(https://letsencrypt.org/) or startssl(https://www.startssl.com/)  etc..

About the envfile.server.txt consider a example where you have a domain name www.example.com  As you know there are 3 different applications in a kobotoolbox that are koboform, kobocat and enketo. So you will need to create subdomains for each of these applications say koboform, kobocat and enketo. These subdomains can be any valid name that you wish to have(https://en.wikipedia.org/wiki/Subdomain). Its like you are accessing 3 different application,
  1. Koboform application by https://koboform.example.com
  2. kobocat application by https://kobocat.example.com
  3. enketo application by https://enketo.example.com.
And you envfile.server.txt will look like,
  1. PUBLIC_DOMAIN_NAME =  example.com
  2. KOBOFORM_PUBLIC_SUBDOMAIN = koboform
  3. KOBOCAT_PUBLIC_SUBDOMAIN = kobocat
  4. ENKETO_EXPRESS_PUBLIC_SUBDOMAIN = enketo
Regards,
Amar
Reply all
Reply to author
Forward
Message has been deleted
0 new messages