How can we help you?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Running multiple Gilhari microservices on a system

edited July 7 in Gilhari

If you are running two separate Gilhari microservices on your system (for example, to access two different databases), try running the two separate Gilhari microservices to listen on two different port numbers (for example, 8082 and 8083) by mapping their default port number 8081 accordingly on the docker run commands as follows:

docker run -p 8082:8081 gilhari1:<version>

docker run -p 8083:8081 gilhari2:<version>

Then, instead of using port number 80 or 8081 in the REST URL, use port numbers 8082 and 8083 to access these separate instances of the two Gilhari microservices.

If you don't make the two services listen on different ports, there might be communication issues due to port conflict/interference.

Also, remove any old (dead or zombie) docker containers which you don't need any more but might be hogging/blocking some ports.

Sign In or Register to comment.