HOST_ADDRESS

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

  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

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?
  1. 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+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.

  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 dona...@gmail.com:

  1. are you using the kobo docker install?
  1. 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.

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.

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

···

On Friday, September 16, 2016 at 12:56:42 AM UTC+5:30, Donald Lobo wrote:

  1. pretty sure you need to use the server setup
  1. 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 dona...@gmail.com:

  1. are you using the kobo docker install?
  1. 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.

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.

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

···

2016-09-17 12:26 GMT+01:00 Amar Kamthe amarka...@gmail.com:

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

On Friday, September 16, 2016 at 12:56:42 AM UTC+5:30, Donald Lobo wrote:

  1. pretty sure you need to use the server setup
  1. 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 dona...@gmail.com:

  1. are you using the kobo docker install?
  1. 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-us...@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.

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.

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,
  4. PUBLIC_DOMAIN_NAME = example.com
  5. KOBOFORM_PUBLIC_SUBDOMAIN = koboform
  6. KOBOCAT_PUBLIC_SUBDOMAIN = kobocat
  7. ENKETO_EXPRESS_PUBLIC_SUBDOMAIN = enketo
    Regards,
    Amar
···

On Tuesday, September 20, 2016 at 10:08:53 AM UTC+5:30, Mael Elvis FOSSO N. wrote:

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

2016-09-17 12:26 GMT+01:00 Amar Kamthe amar...@gmail.com:

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

On Friday, September 16, 2016 at 12:56:42 AM UTC+5:30, Donald Lobo wrote:

  1. pretty sure you need to use the server setup
  1. 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 dona...@gmail.com:

  1. are you using the kobo docker install?
  1. 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.

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.

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.

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.