Azure service fabric Instance count

后端 未结 5 963
粉色の甜心
粉色の甜心 2021-01-06 20:49

I am working on a POC with azure service fabric. Deployed my service in a local cluster and it\'s working fine with default settings in Local.xml.

The moment I chang

5条回答
  •  天命终不由人
    2021-01-06 21:01

    When you are using local sf cluster and if you have fixed the service endpoint port, use only one instance. For example:

    Service.Endpoint uses port 8090. This is defined in ServiceManifest.xml. In a local cluster actually everything just runs on one node i.e. your development machine. If you try to create 2 instances of same service with hard defined port, then you will get Port already in use error.

    Try changing to one instance or move it to actual Azure cluster or remove hard coded port numbers.

提交回复
热议问题