How to Configure Service Fabric with two stateless service on different port

115 Views Asked by At

I have a stateless service, Subscription Service.
Subscription Service has 3 routes(3 controllers)

  • "api/v1/Subscription"
  • "api/v1/notification"
  • "api/v1/AdminService".

Now I want to add new service BotService, on port 9067. it has 1 route "api/v1/botservice" How to configure Service Fabric to route calls to Bot Service for its registered routes and Subscription Service on its registered route.

2

There are 2 best solutions below

0
On

If each service runs on a different port then there shouldn't be a problem. You need to update your cluster network resources (NSG and load balancer) to enable inbound traffic towards your cluster VMSS, on the new port (9067).

0
On