Skip to content

Change Grpc port #145

@RichardBurns1982

Description

@RichardBurns1982

When running locally we have multiple functions running and we are using the extension AddDurableTaskClient so we can inject this to start orchestration functions:

services.AddDurableTaskClient(b =>
        {
            b.UseGrpc(grpcConfigure =>
            {
                grpcConfigure.Channel = GrpcChannel.ForAddress($"http://localhost:{PORT}");
            });
        });

How do we change the port so that one function can run GRPC on a different port to another function? When we try overriding the port we get connection errors from the GRPC framework.

This only affects us locally when developing as we can't have more than one function running at the same time but we would like to work around that limitation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions