ConfigureEndpoints(ISiloBuilder, int, int, AddressFamily, bool)
staticextension
public static ISiloBuilder ConfigureEndpoints(this ISiloBuilder builder, int siloPort, int gatewayPort, AddressFamily addressFamily = AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false) Configure endpoints for the silo.
Parameters
builderISiloBuilder- The host builder to configure.
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.
