Replicator port assignment.
davebally opened this issue · 3 comments
Hi,
We are working in quite a locked down environment and as such are required to limit the port ranges that are open.
For ServiceFabric itself and the applications the ports are defined in the service manifest. However for the replicator port for stateful services i can find no such setting.
Am i missing something ?
Thanks
Hi,
It's essentially the same process as for service endpoints. You first add an endpoint for the replica in the service manifest as in this example. If you don't specify a port for this endpoint, SF will choose one from the application port range. Then, specify the ReplicatorEndpoint setting in the ReplicatorConfig section in your service's Settings.xml like this.
Let me know if anything needs additional clarification!
-Ty
@davebally Ty's solutions should allow you to specify what you need. Please let us know if this addresses your question.
Thanks!
-Matt