Skip to content

EndpointOptionsExtensions.ConfigureEndpoints(ISiloBuilder, string, int, int, AddressFamily, bool)

ConfigureEndpoints(ISiloBuilder, string, int, int, AddressFamily, bool)

staticextension
View source
public static ISiloBuilder ConfigureEndpoints(this ISiloBuilder builder, string hostname, int siloPort, int gatewayPort, AddressFamily addressFamily = AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false)
Configure endpoints for the silo.

Parameters

builderISiloBuilder
The host builder to configure.
hostnamestring
The host name the silo is running on.
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.
addressFamilyAddressFamily
Address family to listen on. Default IPv4 address family.
listenOnAnyHostAddressbool
Set to true to listen on all IP addresses of the host instead of just the advertiseIP.