HOST_ADDRESS on Local Deployment with Docker

Hi,

I have a problem about setting the HOST_ADDRESS variable on envfile.local.txt

I would like to use KoboToolbox to collect data at the university by using smartphone. What I done, it’s to deploy Kobo-Docker on a computer in our lab. The computer has a static IP Adress 192.168.0.157

For this data collection, we created a NAT on a local IP Adress 192.168.3.100. What I’m trying to do it’s to set the HOST_ADDRESS variable with 192.168.3.100 so that everyone in the lab, any computer could access to KoboToolbox using this address 192.168.3.100 and the public IP Address associated to 192.168.3.100 allow teachers/lecturers to access to KoboToolbox deployed in the lab.

But When I set the variable HOST_ADDRESS to 192.168.3.100, I can’t access to KoboToolbox. I access to KoboToolbox only by setting HOST_ADDRESS to 127.0.0.1 or 192.168.0.157 and just to the local computer where KoboToolbox it’s deployed because It’s like others computers in the network don’t reach it.

How to solve the problem ? Am I doing wrong somewhere please ?