3

I have installed 2 instances of cache channel micro servive for Staging and Live environment. I have left with default port. How can I find, which port my second instance is using? Also how can I register it as a capability with discovery service?

2

You can't have two instances of the service listen on the same port. One will fail.

One option is to configure the services to run on separate ports like this: Is it possible to specify your own port number for the cache microservice

You could also consider running the instances on separate servers.

  • Thanks for your answer. As suggested in your question, I am able to setup the port. I am wondering why server.port parameter suggested in SDL docs is not working. Is there anything missing? – Mukesh Kumar Aug 29 '17 at 18:09
1

I have looked at the readme.md file available with the Cache channel service installation for the default port

in both cases (windows and linux) the service will be reachable on port:`1099`.
  • As 1099 is already in use by staging cache channel service, I am wondering how can live also use that? – Mukesh Kumar Aug 29 '17 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.