How to tell java application to connect to specific Axon server gPRC port?

Viewed 110

in our Spring Boot project we run Axon server in Docker on port gRPC 8125. How to tell application which is configured by AxonAutoConfiguration to use Axon server port 8125, instead of default 8124? I couldn't find anything on the matter. Thank you!

1 Answers

You can just specify a property in application.properties file located in your resources:

axon.axonserver.servers=localhost:8125
Related