Skip to content

EndpointOptionsExtensions.ConfigureEndpoints(ISiloBuilder, IPAddress, int, int, bool)

ConfigureEndpoints(ISiloBuilder, IPAddress, int, int, bool)

staticextension
View source
public static ISiloBuilder ConfigureEndpoints(this ISiloBuilder builder, IPAddress advertisedIP, int siloPort, int gatewayPort, bool listenOnAnyHostAddress = false)
Configure endpoints for the silo.

Parameters

builderISiloBuilder
The host builder to configure.
advertisedIPIPAddress
The IP address to be advertised in membership tables
siloPortint
The port this silo uses for silo-to-silo communication.
gatewayPortint
The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.
listenOnAnyHostAddressbool
Set to true to listen on all IP addresses of the host instead of just the advertiseIP.