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?

1

2 Answers 2

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.

1
  • 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? Commented Aug 29, 2017 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`.
1
  • As 1099 is already in use by staging cache channel service, I am wondering how can live also use that? Commented Aug 29, 2017 at 15:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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