Skip to content

Instantly share code, notes, and snippets.

@wullemsb
Created March 26, 2020 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wullemsb/c0e8c99a96c605934c7a5ffea5ff12f7 to your computer and use it in GitHub Desktop.
Save wullemsb/c0e8c99a96c605934c7a5ffea5ff12f7 to your computer and use it in GitHub Desktop.
builder.Configure<EndpointOptions>(options =>
{
// Port to use for Silo-to-Silo
options.SiloPort = 11111;
// Port to use for the gateway
options.GatewayPort = 30000;
// IP Address to advertise in the cluster
options.AdvertisedIPAddress = IPAddress.Parse(config.GetSection("ServerIpAddress").Value);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment